You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two output files should contains these sourcemap comments:
a/index.js: //# sourceMappingURL=/a/index.js.map
b/index.js: //# sourceMappingURL=/b/index.js.map
😯 Current Behavior
The two output files contain these sourcemap comments (the map files are emitted correctly though) :
a/index.js: //# sourceMappingURL=/index.js.map
b/index.js: //# sourceMappingURL=/index.js.map
🐛 bug report
The sourcemap url in Javascript bundles isn't respecting the subfolder of the corresponding bundle.
🎛 Configuration (.babelrc, package.json, cli command)
parcel build src/a/index.js src/b/index.js
🤔 Expected Behavior
The two output files should contains these sourcemap comments:
a/index.js:
//# sourceMappingURL=/a/index.js.map
b/index.js:
//# sourceMappingURL=/b/index.js.map
😯 Current Behavior
The two output files contain these sourcemap comments (the map files are emitted correctly though) :
a/index.js:
//# sourceMappingURL=/index.js.map
b/index.js:
//# sourceMappingURL=/index.js.map
💁 Possible Solution
This is the related code:
parcel/packages/core/parcel-bundler/src/packagers/JSPackager.js
Lines 238 to 245 in 791b4b8
💻 Code Sample
🌍 Your Environment
The text was updated successfully, but these errors were encountered: