Update webpack config to generate render function

This commit is contained in:
Angelina Filippova 2021-03-08 23:57:11 +08:00
parent 6abb32e3e6
commit 837474f179

View file

@ -48,7 +48,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
poll: config.dev.poll poll: config.dev.poll
}, },
headers: { headers: {
'content-security-policy': "base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https: http:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'; script-src 'self';" 'content-security-policy': "script-src 'self' 'unsafe-eval'; base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https: http:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'"
} }
}, },
plugins: [ plugins: [
@ -67,7 +67,12 @@ const devWebpackConfig = merge(baseWebpackConfig, {
BASE_URL: devEnv.ASSETS_PUBLIC_PATH + config.dev.assetsSubDirectory, BASE_URL: devEnv.ASSETS_PUBLIC_PATH + config.dev.assetsSubDirectory,
}, },
}), }),
] ],
resolve: {
alias: {
vue: 'vue/dist/vue.js'
}
}
}) })
module.exports = new Promise((resolve, reject) => { module.exports = new Promise((resolve, reject) => {