mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix global declaration in test
Signed-off-by: Clark Du <clark.duxin@gmail.com>
This commit is contained in:
parent
034df15231
commit
36a553236a
@ -7,7 +7,7 @@ module.exports = function (options) {
|
||||
loader: 'ts-loader'
|
||||
})
|
||||
// Add TypeScript loader for vue files
|
||||
for (rule of config.module.rules) {
|
||||
for (let rule of config.module.rules) {
|
||||
if (rule.loader === 'vue-loader') {
|
||||
rule.query.loaders.ts = 'ts-loader?{"appendTsSuffixTo":["\\\\.vue$"]}'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user