修复js加载顺序问题
This commit is contained in:
parent
d077a03e60
commit
391f97d3bb
@ -130,6 +130,7 @@ module.exports = {
|
|||||||
template: path.join(__dirname, '../../src/renderer-lyric/index.pug'),
|
template: path.join(__dirname, '../../src/renderer-lyric/index.pug'),
|
||||||
isProd: process.env.NODE_ENV == 'production',
|
isProd: process.env.NODE_ENV == 'production',
|
||||||
browser: process.browser,
|
browser: process.browser,
|
||||||
|
scriptLoading: 'blocking',
|
||||||
__dirname,
|
__dirname,
|
||||||
}),
|
}),
|
||||||
new VueLoaderPlugin(),
|
new VueLoaderPlugin(),
|
||||||
|
|||||||
@ -130,6 +130,7 @@ module.exports = {
|
|||||||
template: path.join(__dirname, '../../src/renderer/index.pug'),
|
template: path.join(__dirname, '../../src/renderer/index.pug'),
|
||||||
isProd: process.env.NODE_ENV == 'production',
|
isProd: process.env.NODE_ENV == 'production',
|
||||||
browser: process.browser,
|
browser: process.browser,
|
||||||
|
scriptLoading: 'blocking',
|
||||||
__dirname,
|
__dirname,
|
||||||
}),
|
}),
|
||||||
new VueLoaderPlugin(),
|
new VueLoaderPlugin(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user