diff options
Diffstat (limited to 'sw-ui/webpack.config.d/blueprintjs-process-bug-workaround.js')
-rw-r--r-- | sw-ui/webpack.config.d/blueprintjs-process-bug-workaround.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw-ui/webpack.config.d/blueprintjs-process-bug-workaround.js b/sw-ui/webpack.config.d/blueprintjs-process-bug-workaround.js new file mode 100644 index 00000000..db05f745 --- /dev/null +++ b/sw-ui/webpack.config.d/blueprintjs-process-bug-workaround.js @@ -0,0 +1,9 @@ +const webpack = require('webpack'); + +config.plugins.push( + // Workaround for `process.env` usages in blueprintjs's classes.ts + // https://github.com/palantir/blueprint/issues/3739 + new webpack.DefinePlugin({ + "process.env": "{}" + }) +) |