Skip to content

Commit

Permalink
test: update config for all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Jan 2, 2024
1 parent b925e65 commit f9da1f1
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion crates/mako/test/build/side-effects-flag/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion crates/mako/test/config/define/mako.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"MEMBER_NAMES": [{ "name": "\"sorrycc\"" }, { "name": "\"xiaohuoni\"" }],
"EXIT": true
},
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion crates/mako/test/config/normal/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"platform": "node",
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/config.manifest.config/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"manifest": true,
"manifest": {},
"manifestConfig": {
"fileName": "manifest.json",
"basePath": "aaa"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking-export-all/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_class/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"minify": false,
"hmr": false
"hmr": null
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_export_default/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"optimizePackageImports": false,
"optimization": {
"skipModules": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_exported/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_fn/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_import_self/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"codeSplitting": "none"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_issues_271/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"hmr": false,
"hmr": null,
"minify":false
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"mode": "production",
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_named_export/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_named_reexport/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_reexport/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_require_esm/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "production",
"minify": false,
"hmr": false,
"hmr": null,
"treeShake": "basic"
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_require_self/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_side_effect/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion e2e/fixtures/tree-shaking_style.failed/mako.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "production",
"minify": false,
"hmr": false
"hmr": null
}
2 changes: 1 addition & 1 deletion examples/import-resources/mako.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"inlineLimit": 0,
"stats": true,
"mdx": true,
"manifest": true,
"manifest": {},
"manifestConfig": {
"fileName": "manifest.json",
"basePath": "aaa"
Expand Down
2 changes: 1 addition & 1 deletion examples/tree-shaking/mako.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"index": "./index.js"
},
"minify": false,
"hmr": false,
"hmr": null,
"codeSplitting": "none",
"define": {
"NODE_ENV": "'production'"
Expand Down

0 comments on commit f9da1f1

Please sign in to comment.