diff --git a/webpack.config.js b/webpack.config.js index d9876e8..0c16d61 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -77,6 +77,10 @@ module.exports = { new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'], }), + + new webpack.DefinePlugin({ + appName: JSON.stringify(appName), + }), ], resolve: {