Closed
Description
Version
3.0.1
Reproduction link
https://cli.vuejs.org/config/#pages
Node and OS info
Node >=8.11.3
Steps to reproduce
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个时,无法编译,编译卡在开始进度
What is expected?
正常编译
What is actually happening?
无法编译
Metadata
Metadata
Assignees
Labels
No labels