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

Component must have name while using create-api! #20

Open
liubian333 opened this issue Feb 5, 2020 · 0 comments
Open

Component must have name while using create-api! #20

liubian333 opened this issue Feb 5, 2020 · 0 comments

Comments

@liubian333
Copy link

chainWebpack: config => {
config.resolve.alias
.set('components', resolve('src/components'))
.set('assets', resolve('src/assets'))
.set('api', resolve('src/api'))
config.optimization.minimizer('terser').tap(args => {
args[0].terserOptions.keep_fnames = true
args[0].terserOptions.keep_classnames = true
args[0].terserOptions.compress.drop_console = true
return args
})
}

这些都配置了仍然出现,vue cli4

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