vue-webpack icon indicating copy to clipboard operation
vue-webpack copied to clipboard

Documentation needed: How to build an artifact?

Open travis-bear opened this issue 6 years ago • 1 comments

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```

travis-bear avatar Mar 13 '19 17:03 travis-bear

Do you mean generating the compiled javascript files for the production environment ?

dushyant89 avatar Mar 14 '19 17:03 dushyant89