Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Disable webpack node plugins (#1141)
Browse files Browse the repository at this point in the history
* Tell webpack we don't need node global

Otherwise this generates some js that uses eval and upsets csp

* Fully disable webpack node plugins
  • Loading branch information
nicksellen authored and tiltec committed Nov 24, 2018
1 parent 0c17e42 commit f382689
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ module.exports = {
chunkFilename: 'assets/js/[id].[chunkhash].js',
pathinfo: false,
},
node: false,
resolve: {
extensions: [
'.mat.js', // for use inside quasar
Expand Down

0 comments on commit f382689

Please sign in to comment.