-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Use the "outputDir" option instead. Error #1496
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
Comments
Hi, I have the same problem. Why does this issue is closed ? |
@benoit-ponsero I didnt have time to create a repro. |
Hi @jousi592 here is the repoduction: I use You find the repo in the assests folder as a git submodule @ https://github.com/zoosky/hello-exs/assets assets git:(master) ✗ yarn build
yarn run v1.7.0
$ vue-cli-service build
⠋ Building for production... ERROR Error:
Configuration Error: Avoid modifying webpack output.path directly. Use the "outputDir" option instead.
Error:
Configuration Error: Avoid modifying webpack output.path directly. Use the "outputDir" option instead.
at build (/Users/andreas/dev/examples/exlixir/hello/assets/node_modules/@vue/cli-service/lib/commands/build/index.js:137:11)
at api.registerCommand (/Users/andreas/dev/examples/exlixir/hello/assets/node_modules/@vue/cli-service/lib/commands/build/index.js:64:13)
at Service.run (/Users/andreas/dev/examples/exlixir/hello/assets/node_modules/@vue/cli-service/lib/Service.js:179:12)
at Object.<anonymous> (/Users/andreas/dev/examples/exlixir/hello/assets/node_modules/@vue/cli-service/bin/vue-cli-service.js:22:9)
at Module._compile (internal/modules/cjs/loader.js:702:30) Does this help? |
Hello, any workarround for this error? |
This works for me. const path = require('path'); module.exports = { |
@kamidev nice. thx! |
changing it within
|
How would I use this to change output filename, library, and libraryTarget? |
The same problem , what can I do , chang output library and libraryTarget? |
Version
3.0.0-beta.15
Reproduction link
https://codesandbox.io/s/vue
Steps to reproduce
Set up vue.config.js like this:
And run
npm run build
What is expected?
To get build files in the
test-folder
folderWhat is actually happening?
I am getting the:
Configuration Error: Avoid modifying webpack output.path directly. Use the "outputDir" option instead.
Should have been fixed in
3.0.0-beta.10
The text was updated successfully, but these errors were encountered: