Disable mangling and compression
Summary: This is not doing much in terms of size. We're talking 780 bytes after PACK compression but we're losing a lot of information in our errors (before have symbolication). We may reenable this at some point but I think it might be safe to leave it to this. Reviewed By: nikoant Differential Revision: D27887636 fbshipit-source-id: 15affeac588db667914320cbd098f7041b8b9c09
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9e09091e14
commit
f1b8aeffd7
@@ -71,6 +71,8 @@ export default async function bundlePlugin(pluginDir: string, dev: boolean) {
|
|||||||
keep_fnames: true,
|
keep_fnames: true,
|
||||||
module: true,
|
module: true,
|
||||||
warnings: true,
|
warnings: true,
|
||||||
|
mangle: false,
|
||||||
|
compress: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
resolver: {
|
resolver: {
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ const minifierConfig = {
|
|||||||
keep_fnames: true,
|
keep_fnames: true,
|
||||||
module: true,
|
module: true,
|
||||||
warnings: true,
|
warnings: true,
|
||||||
|
mangle: false,
|
||||||
|
compress: false,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user