-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rust): rendering runtime module in snapshot testing (#375)
- Loading branch information
Showing
58 changed files
with
943 additions
and
78 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
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
41 changes: 41 additions & 0 deletions
41
crates/rolldown/src/bundler/runtime/runtime-without-comments.js
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,41 @@ | ||
|
||
var __create = Object.create | ||
var __defProp = Object.defineProperty | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor | ||
var __getOwnPropNames = Object.getOwnPropertyNames | ||
var __getProtoOf = Object.getPrototypeOf | ||
var __hasOwnProp = Object.prototype.hasOwnProperty | ||
var __esm = (fn, res) => function () { | ||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res | ||
} | ||
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res) | ||
var __commonJS = (cb, mod) => function () { | ||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports | ||
} | ||
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports) | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }) | ||
} | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === 'object' || typeof from === 'function') | ||
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { | ||
key = keys[i] | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: (k => from[k]).bind(null, key), enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }) | ||
} | ||
return to | ||
} | ||
var __reExport = (target, mod, secondTarget) => ( | ||
__copyProps(target, mod, 'default'), | ||
secondTarget && __copyProps(secondTarget, mod, 'default') | ||
) | ||
var __toESM = (mod, isNodeMode, target) => ( | ||
target = mod != null ? __create(__getProtoOf(mod)) : {}, | ||
__copyProps( | ||
isNodeMode || !mod || !mod.__esModule | ||
? __defProp(target, 'default', { value: mod, enumerable: true }) | ||
: target, | ||
mod) | ||
) | ||
var __toCommonJS = mod => __copyProps(__defProp({}, '__esModule', { value: true }), mod) |
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
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
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
Oops, something went wrong.