-
Notifications
You must be signed in to change notification settings - Fork 32
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
Showing
4 changed files
with
33 additions
and
79 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,46 +1,7 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`alias should work 1`] = ` | ||
"var __webpack_modules__ = ({}); | ||
/************************************************************************/ | ||
// The module cache | ||
var __webpack_module_cache__ = {}; | ||
// The require function | ||
function __webpack_require__(moduleId) { | ||
// Check if module is in cache | ||
var cachedModule = __webpack_module_cache__[moduleId]; | ||
if (cachedModule !== undefined) { | ||
return cachedModule.exports; | ||
} | ||
// Create a new module (and put it into the cache) | ||
var module = (__webpack_module_cache__[moduleId] = { | ||
exports: {} | ||
}); | ||
// Execute the module function | ||
__webpack_modules__[moduleId](module, module.exports, __webpack_require__); | ||
// Return the exports of the module | ||
return module.exports; | ||
} | ||
/************************************************************************/ | ||
// webpack/runtime/rspack_version | ||
(() => { | ||
__webpack_require__.rv = function () { | ||
return "1.0.0-canary-0b368b6-20240704171208"; | ||
}; | ||
})(); | ||
// webpack/runtime/rspack_unique_id | ||
(() => { | ||
__webpack_require__.ruid = "[email protected]"; | ||
})(); | ||
/************************************************************************/ | ||
var __webpack_exports__ = {}; | ||
"var __webpack_exports__ = {}; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/a.ts | ||
const a = 'hello world'; | ||
|
@@ -56,45 +17,6 @@ export { a }; | |
exports[`alias should work 2`] = ` | ||
"(() => { // webpackBootstrap | ||
"use strict"; | ||
var __webpack_modules__ = ({}); | ||
/************************************************************************/ | ||
// The module cache | ||
var __webpack_module_cache__ = {}; | ||
// The require function | ||
function __webpack_require__(moduleId) { | ||
// Check if module is in cache | ||
var cachedModule = __webpack_module_cache__[moduleId]; | ||
if (cachedModule !== undefined) { | ||
return cachedModule.exports; | ||
} | ||
// Create a new module (and put it into the cache) | ||
var module = (__webpack_module_cache__[moduleId] = { | ||
exports: {} | ||
}); | ||
// Execute the module function | ||
__webpack_modules__[moduleId](module, module.exports, __webpack_require__); | ||
// Return the exports of the module | ||
return module.exports; | ||
} | ||
/************************************************************************/ | ||
// webpack/runtime/rspack_version | ||
(() => { | ||
__webpack_require__.rv = function () { | ||
return "1.0.0-canary-0b368b6-20240704171208"; | ||
}; | ||
})(); | ||
// webpack/runtime/rspack_unique_id | ||
(() => { | ||
__webpack_require__.ruid = "[email protected]"; | ||
})(); | ||
/************************************************************************/ | ||
var __webpack_exports__ = {}; | ||
;// CONCATENATED MODULE: ./e2e/cases/alias/src/a.ts | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.