Created
January 12, 2017 09:41
-
-
Save eMahtab/7e67884b4e89c67f238046fe5e4e6508 to your computer and use it in GitHub Desktop.
webpack-dev-server does not produce bundle.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The webpack-dev-server prevents webpack from emitting the resulting files to disk. Instead it keeps and serves the resulting | |
files from memory. This means that you will not see the webpack-dev-server build in bundle.js, to see and run the build, | |
you must still run the webpack command. | |
To generate the bundle.js, run | |
webpack | |
To generate minified bundle.js, run | |
webpack -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment