Skip to content
Snippets Groups Projects
Commit 837474f1 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Update webpack config to generate render function

parent 6abb32e3
No related branches found
No related tags found
1 merge request!199Fix rendering moderation log messages
Pipeline #35423 passed
This commit is part of merge request !199. Comments created here will be created in the context of that merge request.
......@@ -48,7 +48,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
poll: config.dev.poll
},
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: [
......@@ -67,7 +67,12 @@ const devWebpackConfig = merge(baseWebpackConfig, {
BASE_URL: devEnv.ASSETS_PUBLIC_PATH + config.dev.assetsSubDirectory,
},
}),
]
],
resolve: {
alias: {
vue: 'vue/dist/vue.js'
}
}
})
module.exports = new Promise((resolve, reject) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment