2

I'm building an application with vue-cli and I see that webpack config is not explicitly defined in my repo. It's hidden from us (although it can be changed). Default run dev script by vue-cli also use vue-cli-service instead of webpack.

I'm a questionning myself about the consequence of this.

  • Are we losing control over the webpack config?
  • Does new version could modify the base hidden config without us knowing it ?
  • Are vue-cli taking too much space and break some decoupling principle (since it will be more difficult to change from webpack to another bundler for example) ?

Thanks in advance.

Regards

(English not my primary language, sorry)

1 Answer 1

2

No modern framework's CLI (including Vue) is going to operate not according to best practices.

  • You can read on how to work with Webpack in Vue here: Link.
  • New versions with breaking changes are documented like so: Link.
  • An application built on any framework will depend on that framework, regardless of CLI use. Configurations built from the CLI can always be changed manually.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.