Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [webpack-dev-server]

a Node.js based server that supports live reloading and is used for development of webpack powered applications.

webpack-dev-server
0 votes
0 answers
5 views

ChunkLoadError at runtime in module federation in reactjs host application in webpack 5

Loading chunk 358 failed; ChunkLoadError at runtime in module federation in reactjs host application in webpack 5. In module federation giving the bundling is not found. enter image description here ...
Anjali's user avatar
  • 1
1 vote
0 answers
35 views

Webpack + docker + hot reload 404 page not found

I am trying to get successful hot reload behavior using react + webpack5 + docker. I have tried many ways. The main difference was noticed with “writeToDisk” option. If it is false, my /app/dist ...
Никита Шевченко's user avatar
0 votes
0 answers
13 views

React project from Webpack to Vite [closed]

I'm moving my React project from Webpack to Vite, but I have some problems: File Extensions: My files end with .js, but Vite wants them to be .jsx. Node Version: My project uses Node 16.14.0, but Vite ...
logith vikram's user avatar
0 votes
0 answers
15 views

Webpack-dev-server serves a directory list instead of the app page on webpack 5

I have looked at various solutions to this but none of them works for me, feel free to ask for more details const webpack = require("webpack"); const webpackDevServer = require("webpack-...
Mayank's user avatar
  • 1
-1 votes
0 answers
19 views

Webpack : Not getting desired folder tree of build files

I am working on an application and using Webpack to serve the build files. In the Chrome developer tools -> Sources, I am not getting the folder tree as expected. Here's the actual folder structure ...
PRADHYUMN SHARMA's user avatar
0 votes
0 answers
19 views

How to attach url params to webpack dev server host?

I use webpack dev-server with npm and having simple config file all works perfectly except that I would like to have dev-server runnning the browser with additional url params attached to 'host' url. ...
northmantif's user avatar
0 votes
0 answers
28 views

My webpack is building old lodash version

I'm having some troubles with my webpack when building source for deployment. Built files are always created with [email protected]. How can I exclude the lodash from the build process or upgrade it to ...
sieusaopolo15's user avatar
0 votes
0 answers
20 views

How to fix: MODULE_NOT_FOUND in webpack

I am trying to run my development server in my React application I am getting an error on webpack module not being found > [email protected] start > webpack serve --env.NODE_ENV=...
Engeniusam's user avatar
0 votes
0 answers
25 views

Invalid hook call in react-redux provider

I am trying to migrate from Parcel 1.0 to Webpack 4, I am using React 16.14, Node: 18.20, Npm 10.7. Getting below error when running webpack serve Invalid hook call. Hooks can only be called inside of ...
Vivek Tiwary's user avatar
1 vote
1 answer
41 views

Webpack configuration not working for jsx file with babel lorder

When runing the react project which is configured with webpack and babel loder is giving and error saying unexpected token in jsx files.Please find bellow error snippit ERROR in ./src/index.js 10:12 ...
Tharindu Sandaruwan's user avatar
0 votes
0 answers
23 views

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it. Step npm run build vue file use file from /dist in php project Problem ...
Supisara Khongthiang's user avatar
0 votes
0 answers
37 views

webpack is not compiling the code and writing it into output file

I am new to webpack and currently trying to see how it works, it should compile my typescript code and put the equivalent JS in the output file when I run the following command webpack serve here is ...
shoaib sabir's user avatar
0 votes
0 answers
10 views

webpack: suppress second "webpack compile successfully" line with constant timestamp

I am able to suppress webpack logs to below. Logs for 3 compilations below: Webpack bundle stats plugin took 10174 ms 2024-06-14 13:42:29: webpack compiled successfully 2024-06-14 13:40:31: webpack ...
Deepak Yadav's user avatar
0 votes
0 answers
11 views

Webpack not watching SCSS glob imported files

I am using webpack to compile my scss files which works fine when initially running npx webpack or npx webpack --watch. When using npx webpack --watch, only my declared SCSS file (app.scss) in my ...
kymchee's user avatar
  • 19
1 vote
0 answers
30 views

DevServer is not reloading files after html-bundler-webpack-plugin was installed on WebPack5

Hello Guys I've been working on creating a local dev env using Webpack to develop sites, the devServer.watchFiles was working until I installed the html-bundler-webpack-plugin I've tried all read all ...
Legend10's user avatar

15 30 50 per page
1
2 3 4 5
219