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

Nightwatch E2E tests fail with an extract-text-webpack-plugin error when importing styles in a DLL #1126

Closed
davidwallacejackson opened this issue Apr 13, 2018 · 3 comments

Comments

@davidwallacejackson
Copy link

Version

3.0.0-beta.6

Reproduction link

https://github.com/davidwallacejackson/vue-cli-css-import-repro

Steps to reproduce

  1. npm install
  2. npx vue-cli-service e2e

What is expected?

The automatically-generated E2E tests should pass.

What is actually happening?

The E2E tests time out. In the browser console, there's an error: "extract-text-webpack-plugin" loader is used without the corresponding plugin


vue.config.js is configured to prebuild '@/module-importing-css' into a DLL, which is then referenced from main when it imports './module-importing-css'. If you comment out that line in the config, the tests run correctly.

There's another issue about people encountering this same error (#997) but the context seems very different (they're using Windows and they're not running e2e tests), so I wasn't sure the error was actually caused by the same bug in both cases.

@yyx990803
Copy link
Member

Closing as we will be removing the DLL option.

@davidwallacejackson
Copy link
Author

Fair enough. Could I ask why you're removing it? It was a big help for my project, though it wouldn't be the end of the world to set the plugin up manually.

@yyx990803
Copy link
Member

We will be upgrading to webpack 4 which has better build performance so the return from maintaining the extra DLL option no longer justifies the cost.

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