Comments (7)
a while ago this did work in chrome (i'm using it too) but some change in chrome changed it...
Should be fixed now again...
You need to check "Show script folders" in chrome dev tool settings (bottom right corner).
from webpack.
Now it's working, thanks. I've checked the "Show script folders" already. But I was annoyed that the folders also start with the full absolute path.
from webpack.
Compare these two paths from browserify and webpack:
/test/simpleTest/simpleTest.test.js:34
webpack-module:///home/jhnns/node/nodeclass/test/simpleTest/simpleTest.test.js:33
The first path provides a much nicer debug experience (e.g. in stack traces, etc.) since it omits the uninteresting parts.
from webpack.
sourceUrl is shortened the way stats was processed.
./
project directory
../
parent of project directory
~
= node_modules
from webpack.
Looks good. But if I'm using a loader, such as bundle, the loader-path is prepended. For instance:
webpack-module:///(webpack)/~/bundle-loader/lazy.js!./pages/Blog/BlogPage.class.js
Is this intended? I don't think that the loader is important for the debug view.
from webpack.
It's intended and importent. The bundle loader is a good example.
If you use the bundle loader you have 2 modules included
webpack-module:///(webpack)/~/bundle-loader/lazy.js!./pages/Blog/BlogPage.class.js
webpack-module:///./pages/Blog/BlogPage.class.js
If we would not prepend the loader the module names are not unique and would collide.
from webpack.
Sounds reasonable.
from webpack.
Related Issues (20)
- https://github.com/webpack/webpack.git
- Access to font from origin has been blocked by CORS policy
- Fetching remote-entry files dynamically and support of experiments.outputModule HOT 9
- Null
- Webpack overwrites custom objects passed into resolve.unsafeCache HOT 11
- Error: Uncaught ReferenceError: __webpack_require__ is not defined at HOT 2
- Option to keep /*webpackIgnore:true*/ in the bundle
- Can't import child_process HOT 1
- Module Federation loadRemoteModule catch error E[n].get is not a function
- Resolver type from webpack/enhanced-resolve are not compatible HOT 3
- v5.90.3 pollution global variables jquery $
- License scan badge shown as failing HOT 10
- `snapshot.unmanagedPaths` is ignored
- Module Federation - Some chunks are not loaded when navigating from the Remote module to the Host module
- failed to import ffmpeg-core.js HOT 1
- Webpack 5 doesnt generate the chunks of imports HOT 1
- Error: Cannot find module 'webpack-cli/package.json' HOT 2
- Unable to bust cache of module federation remotes....
- Re-exported Ant Design components don't have same style with the original components
- failed to import ffmpeg-core.js HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack.