We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67aa314 commit c2fda75Copy full SHA for c2fda75
packages/html-manager/test/webpack.conf.js
@@ -1,5 +1,6 @@
1
var path = require('path');
2
var postcss = require('postcss');
3
+const webpack = require('webpack');
4
5
module.exports = {
6
mode: 'development',
@@ -90,4 +91,12 @@ module.exports = {
90
91
},
92
],
93
94
+ plugins: [
95
+ new webpack.DefinePlugin({
96
+ // Needed for Blueprint. See https://github.com/palantir/blueprint/issues/4393
97
+ 'process.env': '{}',
98
+ // Needed for various packages using cwd(), like the path polyfill
99
+ process: { cwd: () => '/' }
100
+ })
101
+ ]
102
};
0 commit comments