1 2 3 4 5 6 7 8 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": "{}" }) )