Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation needed: How to build an artifact? #3

Open
travis-bear opened this issue Mar 13, 2019 · 1 comment
Open

Documentation needed: How to build an artifact? #3

travis-bear opened this issue Mar 13, 2019 · 1 comment

Comments

@travis-bear
Copy link

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```
@dushyant89
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants