-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c568c90
commit b3bcf58
Showing
21 changed files
with
16 additions
and
82 deletions.
There are no files selected for viewing
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,6 +1,6 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`alias in ts 1`] = ` | ||
exports[`alias should work 1`] = ` | ||
"var __webpack_modules__ = ({}); | ||
/************************************************************************/ | ||
// The module cache | ||
|
@@ -42,18 +42,18 @@ __webpack_require__.ruid = "[email protected]"; | |
/************************************************************************/ | ||
var __webpack_exports__ = {}; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/ts/src/a.ts | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/a.ts | ||
const a = 'hello world'; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/ts/src/index.ts | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/index.ts | ||
console.info(a); | ||
export { a }; | ||
" | ||
`; | ||
|
||
exports[`alias in ts 2`] = ` | ||
exports[`alias should work 2`] = ` | ||
"(() => { // webpackBootstrap | ||
"use strict"; | ||
var __webpack_modules__ = ({}); | ||
|
@@ -97,10 +97,10 @@ __webpack_require__.ruid = "[email protected]"; | |
/************************************************************************/ | ||
var __webpack_exports__ = {}; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/ts/src/a.ts | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/a.ts | ||
const a = 'hello world'; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/ts/src/index.ts | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/index.ts | ||
console.info(a); | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
beforeEach(() => { | ||
// since our NODE_ENV injection logic is via cli, we need to delete "test" NODE_ENV to avoid affecting the default build config | ||
delete process.env.NODE_ENV; | ||
}); |
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