renderer: simplify set static path in production

This commit is contained in:
leejooy96 committed 2022-07-21 10:45:39 +09:00
1 parent c9560b38f0
commit 89a65c9707
2 files changed
+6 -14

No files matched your search

+1 -1
View File
@@ -105,8 +105,8 @@ export default {
removeAttributeQuotes: true,
removeComments: true
},
isBrowser: false,
isDevelopment: IS_DEV_ENV,
staticPath: path.join(__dirname, '/static').replace(/\\/g, '\\\\'),
nodeModules: IS_DEV_ENV
? path.resolve(__dirname, '../../node_modules')
: false