chore: Bump to webpack 5
This commit is contained in:
parent
2fdb378e4f
commit
990052db77
File diff suppressed because it is too large
Load Diff
|
@ -29,7 +29,7 @@
|
|||
"sign-addon": "^3.0.0",
|
||||
"temp-dir": "^2.0.0",
|
||||
"wdio-chromedriver-service": "^6.0.3",
|
||||
"webpack": "^4.43.0"
|
||||
"webpack": "^5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"bootstrap": "npm install && lerna bootstrap --hoist",
|
||||
|
|
|
@ -24,9 +24,11 @@ module.exports = (env, argv) => {
|
|||
path: path.resolve(__dirname, "dist"),
|
||||
filename: "ruffle.js",
|
||||
chunkFilename: "core.ruffle.[contenthash].js",
|
||||
jsonpFunction: "RufflePlayerLoader",
|
||||
},
|
||||
mode: mode,
|
||||
experiments: {
|
||||
syncWebAssembly: true,
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new WasmPackPlugin({
|
||||
|
|
|
@ -19,6 +19,9 @@ module.exports = (env, argv) => {
|
|||
filename: "index.js",
|
||||
},
|
||||
mode: mode,
|
||||
experiments: {
|
||||
syncWebAssembly: true,
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new CopyWebpackPlugin({
|
||||
|
|
|
@ -23,9 +23,11 @@ module.exports = (env, argv) => {
|
|||
path: path.resolve(__dirname, "build/dist"),
|
||||
filename: "[name].js",
|
||||
chunkFilename: "core.ruffle.js",
|
||||
jsonpFunction: "RufflePlayerExtensionLoader",
|
||||
},
|
||||
mode: mode,
|
||||
experiments: {
|
||||
syncWebAssembly: true,
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
|
|
|
@ -18,9 +18,11 @@ module.exports = (env, argv) => {
|
|||
path: path.resolve(__dirname, "dist"),
|
||||
filename: "ruffle.js",
|
||||
chunkFilename: "core.ruffle.[contenthash].js",
|
||||
jsonpFunction: "RufflePlayerLoader",
|
||||
},
|
||||
mode: mode,
|
||||
experiments: {
|
||||
syncWebAssembly: true,
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
|
|
Loading…
Reference in New Issue