vue-webpack
vue-webpack copied to clipboard
Documentation needed: How to build an artifact?
The project works for running a local dev server, but how is a distributable artifact generated?
Hash: bc1436ad5dd4cac5c574
Version: webpack 4.29.6
Time: 304ms
Built at: 03/13/2019 10:07:13 AM
1 asset
Entrypoint main = main.js
[0] (webpack)/buildin/global.js 472 bytes {0} [built]
[2] ./src/index.js 161 bytes {0} [built]
+ 4 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ERROR in ./src/index.js
Module not found: Error: Can't resolve './views/main-content' in '/Users/tbear201/git/comcast/ctsGeoControl/vue-webpack/src'
@ ./src/index.js 2:0-47 4:31-42```
Do you mean generating the compiled javascript files for the production environment ?