Reduce size of bundled js-yaml (#15819)
This commit is contained in:
1 parent
0ff9efd015
commit
8c7ea9c7ed
2 files changed
+4
-3
No files matched your search
@@ -603,7 +603,8 @@ const nodejsFiles = [
|
||||
},
|
||||
{
|
||||
module: getPackageFile("js-yaml/dist/js-yaml.mjs"),
|
||||
path: getPackageFile("js-yaml/lib/loader.js"),
|
||||
find: "var dump = dumper.dump;",
|
||||
replacement: "var dump;",
|
||||
},
|
||||
// `parse-json` use another copy of `@babel/code-frame`
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user