1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-24 21:04:57 +00:00

Fix that whole export debacle (#1370)

* Re-add setting exports

* Update webpack.production.config.js

* Update mod.js

* Slight change

* Update mod.js

* Update webpack.production.config.js

* Update webpack.config.js
This commit is contained in:
Bagel03
2022-02-13 15:09:41 -05:00
committed by GitHub
parent dab4aa9cda
commit f534a88f80
4 changed files with 49 additions and 4 deletions

View File

@@ -131,6 +131,7 @@ module.exports = ({
warnings: true,
},
mangle: {
reserved: ["__$S__"],
eval: true,
keep_classnames: !minifyNames,
keep_fnames: !minifyNames,
@@ -210,6 +211,9 @@ module.exports = ({
test: /\.js$/,
use: [
// "thread-loader",
{
loader: path.resolve(__dirname, "mod.js"),
},
{
loader: "babel-loader?cacheDirectory",
options: {