Top "Webpack-dev-server" questions

a Node.

Mocha testing failed due to css in webpack

I'm new to Mocha and I am trying to use it to test a simple React component. The test would …

unit-testing reactjs mocha webpack webpack-dev-server
Change hard coded url constants for different environments via webpack

I have a ApiCaller.js module which generate calls to our api server to get data. It has const field …

javascript webpack webpack-dev-server
Webpack Dev Server Config - contentBase not working in latest version

When I upgrade webpack to 4.0.0-beta.3 and run npx webpack serve I get this error: [webpack-cli] Invalid configuration object. Object …

webpack webpack-dev-server webpack-cli
webpack-dev-server can't find localhost

I'm trying to get started with React using webpack, but keep running into an error when I try to set …

npm localhost webpack mamp webpack-dev-server
Mocha tests don't run with Webpack and mocha-loader

Background I am porting some npm scripts to Webpack loaders to better learn how Webpack works and I’ve got …

npm reactjs mocha webpack webpack-dev-server
How to make webpack less verbose?

This is Wes Craven's New Nightmare! Why do I even need this horror on every little bit of change? How …

webpack webpack-dev-server
Enabling webpack hot-reload in a docker application

I have a docker app with the following containers node - source code of the project. it serves up the …

node.js docker webpack webpack-dev-server webpack-2
Error: Cannot find module 'webpack-cli/bin/config-yargs'

'Github' asked me to update 'webpack-dev-server' to version 3.1.11 or higher for security reasons. However, 'npm run dev' will not run …

vue.js webpack webpack-dev-server
Angular 6 [WDS] Disconnected Error on Firefox

I use Angular and i get console error only on Firefox "[WDS] Disconnected!". Here is my Angular-Cli version. Angular CLI: 6.0.1 …

angular firefox webpack-dev-server angular6
Cannot make bootstrap work with Webpack

I am working with a webpack-dev-server and I am trying to include bootstrap. I have this project structure: ── css │   └── bootstrap.…

javascript twitter-bootstrap webpack webpack-dev-server webpack-style-loader