Skip to content

Commit

Permalink
Don't include the unused node.js global polyfill. The polyfill code r…
Browse files Browse the repository at this point in the history
…equires a CSP policy of unsafe-eval
  • Loading branch information
lucasnetau authored and kevinchappell committed Sep 28, 2022
1 parent bc8bf36 commit 42dd6cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ const bannerTemplate = ({ chunk }) => {
}

const webpackConfig = {
node: {
global: false,
},
context: outputDir,
entry: {
'dist/form-builder': resolve(__dirname, '../', pkg.config.files.formBuilder.js),
Expand Down

0 comments on commit 42dd6cf

Please sign in to comment.