We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b132a3b commit 7e1862fCopy full SHA for 7e1862f
packages/@vue/cli-plugin-typescript/index.js
@@ -3,9 +3,11 @@ module.exports = (api, options) => {
3
const useThreads = process.env.NODE_ENV === 'production' && options.parallel
4
5
api.chainWebpack(config => {
6
- config.entry('app')
7
- .clear()
8
- .add('./src/main.ts')
+ if (!options.pages) {
+ config.entry('app')
+ .clear()
9
+ .add('./src/main.ts')
10
+ }
11
12
config.resolve
13
.extensions
0 commit comments