Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 433e984

Browse files
authored
fix: Issue #305 force the compiler only build to support template options (#307)
1 parent 61f2016 commit 433e984

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

preprocessor/webpack.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ function inlineUrlLoadedAssets (options = {}) {
4646
function compileTemplate (options = {}) {
4747
options.resolve = options.resolve || {}
4848
options.resolve.alias = options.resolve.alias || {}
49-
options.resolve.alias['vue$'] =
50-
options.resolve.alias['vue$'] || 'vue/dist/vue.esm.js'
49+
options.resolve.alias['vue$'] = 'vue/dist/vue.esm.js'
5150
}
5251
inlineUrlLoadedAssets(webpackOptions)
5352
preventChunking(webpackOptions)

0 commit comments

Comments
 (0)