vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

Devtool uses eval-cheap-module-source-map by default

Open keeplz opened this issue 5 years ago • 0 comments

What problem does this feature solve?

When i want to use sourcemap like 'eval-source-map' with chainWebapck, it doesn't work.

Because it will be changed by cli in silence, is this reasonable? or it is a bug. https://github.com/vuejs/vue-cli/blob/89af6c50c2e559487d5ac24071a1f8589f9c026b/packages/%40vue/cli-service/lib/commands/serve.js#L51-L54

For now, i use configureWebpack to get this.

What does the proposed API look like?

if user user set devtool in chainWebapck, cli shouldn't change it in silence, or even a waning will be better

keeplz avatar Apr 04 '21 14:04 keeplz