We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.8.3
window 10 Node v9.11.1
使用命令 vue-cli-service build --target lib --name base --dest lib src/index.js 打包一个库 其中组件使用了 /* webpackChunkName: “” */分包 vue.config.js中设置了 chunkFilename
chainWebpack: config => { config.output.filename('[name].js') config.output.chunkFilename('[name].[chunkhash:8].js') 但是打包出来的文件没有chunkhash 请问如何解决呢?
vue-cli-service build --target lib --name base --dest lib src/index.js 打包的时候能够配置chunkFilename
vue-cli-service build --target lib --name base --dest lib src/index.js 打包的时候配置chunkFilename不生效
The text was updated successfully, but these errors were encountered:
遇到同样的问题,同求解决方法
Sorry, something went wrong.
No branches or pull requests
Version
3.8.3
Environment info
Steps to reproduce
使用命令 vue-cli-service build --target lib --name base --dest lib src/index.js 打包一个库
其中组件使用了 /* webpackChunkName: “” */分包
vue.config.js中设置了 chunkFilename
chainWebpack: config => {
config.output.filename('[name].js')
config.output.chunkFilename('[name].[chunkhash:8].js')
但是打包出来的文件没有chunkhash
请问如何解决呢?
What is expected?
vue-cli-service build --target lib --name base --dest lib src/index.js 打包的时候能够配置chunkFilename
What is actually happening?
vue-cli-service build --target lib --name base --dest lib src/index.js 打包的时候配置chunkFilename不生效
使用命令 vue-cli-service build --target lib --name base --dest lib src/index.js 打包一个库
其中组件使用了 /* webpackChunkName: “” */分包
vue.config.js中设置了 chunkFilename
chainWebpack: config => {
config.output.filename('[name].js')
config.output.chunkFilename('[name].[chunkhash:8].js')
但是打包出来的文件没有chunkhash
请问如何解决呢?
The text was updated successfully, but these errors were encountered: