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 d446b00 commit 4b08aaeCopy full SHA for 4b08aae
webpack.config.js
@@ -1,6 +1,6 @@
1
-var webpack = require('webpack');
2
-var PACKAGE = require('./package.json');
3
-var banner = PACKAGE.name + ' ' + PACKAGE.version;
+const webpack = require('webpack');
+const PACKAGE = require('./package.json');
+const banner = PACKAGE.name + ' ' + PACKAGE.version;
4
5
module.exports = {
6
entry: './src/index.js',
@@ -14,6 +14,9 @@ module.exports = {
14
banner: banner
15
})
16
],
17
+ node: {
18
+ Buffer: false
19
+ },
20
mode: 'production',
21
module: {
22
rules: [
0 commit comments