Relative Content

Tag Archive for webpack

Webpack and importing npm packages

I was advised to use webpack because at one point I would’ve eventually ended up with lots of scripts and webpack would’ve saved me time by requiring me to only use one script tag to import the final bundle.

Webpack dev server display doesn’t source map my error

When I run my app on webpack server (webpack serve –open –config webpack.dev.js) I am testing the error source mapping. In a file print.js I have a bug. When I open website from server it displays me a bugenter image description here. I need it to show me the exact file from the bug is, not the bundle

Webpack 5: Multi-page site configuration problems

I am trying to figure out how to use webpack 5 for a multi-page site. It is currently placing most of the files as expected into the ‘dist’ folder however, when I am working in development, my SCSS/CSS files are being ignored. I have also dropped my ‘dist’ folder into a server and, the JS files are there but the JS isn’t working. Any help would be appreciated.