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

weback warning when running tests of generated app #1389

Closed
doppelreim opened this issue May 29, 2018 · 0 comments
Closed

weback warning when running tests of generated app #1389

doppelreim opened this issue May 29, 2018 · 0 comments

Comments

@doppelreim
Copy link

doppelreim commented May 29, 2018

Version

3.0.0-beta.11

Reproduction link

https://github.com/doppelreim/vue-test-app

Steps to reproduce

Install dependencies: npm install

Run the unit-tests: ./node_modules/.bin/vue-cli-service test:unit

What is expected?

The tests should pass without warnings.

What is actually happening?

 WEBPACK  Compiled with 1 warning(s)

Warning 

  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/

The repro-repo contains just a freshly generated app:
(actually generated with beta12)

Vue CLI v3.0.0-beta.12
? Please pick a preset: Manually select features
? Check the features needed for your project: TS, Router, CSS Pre-processors, Linter, Unit, E2E
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? No
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): LESS
? Pick a linter / formatter config: TSLint
? Pick additional lint features: 
? Pick a unit testing solution: Mocha
? Pick a E2E testing solution: Cypress
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? (y/N)

Looks like this is an issue with the configuration of webpack?

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

1 participant