Skip to content

Commit

Permalink
Update webpack to avoid using eval
Browse files Browse the repository at this point in the history
This is to avoid CSP 'unsafe-eval' errors.
  • Loading branch information
robhudson committed Jul 23, 2024
1 parent 263e494 commit 0951a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
path: path.resolve(__dirname, 'assets/'),
publicPath: '/media/'
},
devtool: 'source-map',
optimization: {
minimizer: [
new TerserPlugin({
Expand Down

0 comments on commit 0951a6f

Please sign in to comment.