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.0.1
https://cli.vuejs.org/config/#pages
Node >=8.11.3
const fs = require('fs'); const path = require('path'); const MOD_PATH = path.resolve(__dirname, './src/views'); const files = fs.readdirSync(MOD_PATH); const pages = {}; files.forEach(file => { if (file.indexOf('.') !== 0) { pages[file] = { entry: `src/views/${file}/index.ts`, template: 'public/index.html', filename: `${file}/index.html` }; } });
设置入口如上,然后当views目录下入口超过5个时,无法编译,编译卡在开始进度
正常编译
无法编译
The text was updated successfully, but these errors were encountered:
刚刚也遇到了这个问题,一旦超过 6 个,build 会一直卡着不动,改为 5 个后正常
Sorry, something went wrong.
Duplicate of #1996 (comment)
暂时可以通过禁用 named-chunks plugin 解决
named-chunks
module.exports = { // ... chainWebpack: config => config.plugins.delete('named-chunks') }
No branches or pull requests
Version
3.0.1
Reproduction link
https://cli.vuejs.org/config/#pages
Node and OS info
Node >=8.11.3
Steps to reproduce
设置入口如上,然后当views目录下入口超过5个时,无法编译,编译卡在开始进度
What is expected?
正常编译
What is actually happening?
无法编译
The text was updated successfully, but these errors were encountered: