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.

empty sourcemaps for esm bundle

See original GitHub issue

the .es6 assets that are generated with this plugin, have an empty sourcemap:

{"version":3,"sources":[],"names":[],"mappings":"","file":"esm/vendor-b2c1fb4206cbdb61d74d.es6.js","sourceRoot":""}

If you want I can make a test case webpack.config with devtool: source-map i

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
prateekbhcommented, Jun 8, 2020

never mind I found the bug and opened the PR here #47

0reactions
rickiesmoothcommented, Jun 8, 2020

@prateekbh great that you’re looking into it! I tried hidden-source-maps on my test branch of this repo and the .es6.js.map is empty, or do you want me to try it out in my project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome does no apply mappings from SourceMap to console ...
I have a project set up using webpack that includes an inline sourcemap (including sources) in the generated bundle during development.
Read more >
4 Reasons Why Your Source Maps are Broken - Sentry Blog
Here are four reasons why your source maps are broken and tips on how ... To do that, browser agents expect your bundled...
Read more >
Build A Library With esbuild - Medium
How to bundle ESM, IIFE or CommonJS libraries with esbuild. ... To get started, let's create a new empty project. ... sourcemap: true,...
Read more >
rollup.js
Empty Import. Load the module code, but don't make any new objects available. import './module.js';. This is useful for polyfills, or when the...
Read more >
API - esbuild
Bundle ; Define; Entry points; External; Format; Inject; Loader; Minify; Outdir; Outfile; Packages; Platform; Serve; Sourcemap; Splitting ...
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