-
-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: pass more tree shaking test case (#4191)
* chore: π€ ck point * chore: π€ remove temp file * chore: π€ get used name * chore: π€ update * chore: π€ update doc * chore: π€ update * chore: π€ update snapshot * chore: π€ update snap * chore: π€ lint * chore: π€ refactor * chore: π€ update schema * chore: π€ update snap * chore: π€ lint β Closes: \ * chore: π€ update * chore: π€ update snap * chore: π€ update diff * chore: π€ recover * chore: π€ update snapshot * chore: π€ update debug info * chore: π€ update snap * chore: π€ more get condition * chore: π€ add condition * chore: π€ use hashmap based condition store * chore: π€ recover testing * chore: π€ recover * chore: π€ lint * chore: π€ disable debug
- Loading branch information
1 parent
0e9b4ab
commit 9d910ae
Showing
155 changed files
with
876 additions
and
1,356 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
crates/rspack/tests/tree-shaking/assign-with-side-effects/snapshot/snap.diff
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
--- expected | ||
+++ actual | ||
@@ -6,6 +6,10 @@ | ||
@@ -6,6 +6,9 @@ | ||
"./a.js": function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
'use strict'; | ||
__webpack_require__.r(__webpack_exports__); | ||
+__webpack_require__.d(__webpack_exports__, { | ||
+ 'a': function() { return a; }, | ||
+ 'c': function() { return _b_js__WEBPACK_IMPORTED_MODULE_0_.c; } | ||
+}); | ||
/* harmony import */var _b_js__WEBPACK_IMPORTED_MODULE_0_ = __webpack_require__(/* ./b.js */"./b.js"); | ||
/* harmony import */var _c_js__WEBPACK_IMPORTED_MODULE_1_ = __webpack_require__(/* ./c.js */"./c.js"); | ||
__webpack_require__.es(_c_js__WEBPACK_IMPORTED_MODULE_1_, __webpack_exports__); | ||
@@ -19,7 +23,8 @@ | ||
@@ -27,9 +30,6 @@ | ||
"./c.js": function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
'use strict'; | ||
__webpack_require__.r(__webpack_exports__); | ||
__webpack_require__.d(__webpack_exports__, { | ||
- 'd': function() { return d; } | ||
+ 'd': function() { return d; }, | ||
+ 'c': function() { return c; } | ||
}); | ||
const d = 3; | ||
const c = 100; | ||
-__webpack_require__.d(__webpack_exports__, { | ||
- 'ccc': function() { return ccc; } | ||
-}); | ||
const ccc = 30; | ||
}, | ||
"./index.js": function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- expected | ||
+++ actual | ||
@@ -28,9 +28,6 @@ | ||
"./index.ts": function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
'use strict'; | ||
__webpack_require__.r(__webpack_exports__); | ||
-__webpack_require__.d(__webpack_exports__, { | ||
- 'test': function() { return test; } | ||
-}); | ||
/* harmony import */var _antd_index__WEBPACK_IMPORTED_MODULE_0_ = __webpack_require__(/* ./antd/index */"./antd/index.ts"); | ||
|
||
_antd_index__WEBPACK_IMPORTED_MODULE_0_.locales.zh_CN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
...k/tests/tree-shaking/conflicted_name_by_re_export_all_should_be_hidden/snapshot/snap.diff
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.