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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user