Adjust webpack configs for webpack v5
This commit is contained in:
@@ -15,7 +15,12 @@ module.exports = [
|
||||
path: distdir,
|
||||
filename: "tests.js",
|
||||
},
|
||||
plugins: [new webpack.EnvironmentPlugin({ LAUNCHPAD_ENABLED: "" })],
|
||||
plugins: [
|
||||
new webpack.EnvironmentPlugin({ LAUNCHPAD_ENABLED: "" }),
|
||||
new webpack.ProvidePlugin({
|
||||
Buffer: ["buffer", "Buffer"],
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
fallback: {
|
||||
crypto: require.resolve("crypto-browserify"),
|
||||
|
||||
Reference in New Issue
Block a user