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
/private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack:/test.js:4
throw new Error('test');
^
Error: test
at Object.294 (/private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack:/test.js:4:1)
at __webpack_require__ (/private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack:/webpack/bootstrap:19:1)
at startup (/private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack:/webpack/bootstrap:33:1)
at /private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack:/webpack/bootstrap:37:1
at Object.<anonymous> (/private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/index.js:43:10)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
The text was updated successfully, but these errors were encountered:
Believe it or not, what you are looking at is a completely working source map.
If you scroll all the way right, you can see webpack:/test.js:4:1 which represents the original source location.
When running ncc build -s the source map is outputted, but it will not actually run because Node.js does not support source maps. The only way to get them to "run" is via node -r source-map-support/register.js dist/index.js.
When running ncc build x.js -s the source map file isn't coming up in the list of assets, even though it is there. This is an asset logging bug, will post a fix now.
It should be possible in Webpack to somehow remove the /private/var/folders/bm/grflgmxs62g01cd9m8sjjm740000gn/T/d41d8cd98f00b204e9800998ecf8427e/webpack: prefix in the source map.
@sokra any clues on how we could tackle (3) here to make the source map filename look less cluttered?
The text was updated successfully, but these errors were encountered: