question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add module based codepen/jsfiddles?

See original GitHub issue

These templates use <script> tags

Both codepen and jsfiddle now support module scripts.

For jsfiddle you need to set it to use no wrap

Screen Shot 2019-09-06 at 10 02 47

Whether you want to add them, replace the old module ones, or do nothing is of course up to you guys. Just passing on that both systems can handle import now

Examples:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
looeeecommented, Sep 9, 2019

Is this also possible with glitch.com?

Yes, you just add them to package.json as usual and they get installed automatically.

1reaction
looeeecommented, Sep 6, 2019

There’s codesandbox.io and glitch.com, no need for accounts on either and they both allow uploading assets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript/ES Modules and Imports - CodePen Blog
#Importing Pens. Pens have the ability to add External Resources in the JavaScript area of the Pen's Settings. What that does is inject...
Read more >
How can I use a CommonJS module on JSFiddle?
It's important to use type="module" inside the script, jsfiddle and codePen already do that, it can work locally too. Each library has an...
Read more >
Build Your Own JSFiddle | Execute User Entered ... - YouTube
In this video, I demonstrate how to create your very own jsfiddle like app. Just like in jsfiddle, you can write and run...
Read more >
JSitor Mobile App, an alternative of JSFiddle, CodePen and ...
Supports TypeScript, JSX, Babel, Script Modules; Supports Pug document formatting ... JSitor, an alternative of CodePen, JSBin and JSFiddle.
Read more >
script type="module" · Issue #1056 - GitHub
greggman commented on Sep 4, 2019. I thought I'd point out codepen does this automatically based on if there is an import ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found