fix(es/modules): Preserve orders of exports (#5081)

This commit is contained in:
magic-akari 2022-07-01 21:17:43 +08:00 committed by GitHub
parent bb2ba85896
commit 2f2039c693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
97 changed files with 271 additions and 213 deletions

View File

@ -9,9 +9,9 @@ function _export(target, all) {
});
}
_export(exports, {
warn: ()=>warn,
test: ()=>test,
test2: ()=>test2,
warn: ()=>warn
test2: ()=>test2
});
function warn() {
throw new Error("this should not be called");

View File

@ -10,8 +10,8 @@ function _export(target, all) {
}
_export(exports, {
badIstanbul: ()=>badIstanbul,
downloadDocument: ()=>downloadDocument,
noop: ()=>noop
noop: ()=>noop,
downloadDocument: ()=>downloadDocument
});
const _objectWithoutProperties = require("@swc/helpers/lib/_object_without_properties.js").default;
//top comment

View File

@ -0,0 +1,33 @@
{
"sourceMaps": false,
"module": {
"type": "commonjs"
},
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": true,
"dynamicImport": true,
"decorators": false
},
"transform": {
"react": {
"pragma": "React.createElement",
"pragmaFrag": "React.Fragment",
"throwIfNamespace": true,
"development": false,
"useBuiltins": false
}
},
"target": "es2015",
"loose": false,
"externalHelpers": false,
"keepClassNames": false,
"minify": {
"compress": false,
"mangle": false
},
"preserveAllComments": true
},
"minify": false
}

View File

@ -0,0 +1,3 @@
export const a = 1;
export const b = 2;
export const { ...foo } = { a: 1, b: 2 };

View File

@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
foo: ()=>foo,
a: ()=>a,
b: ()=>b
});
const _extends = require("@swc/helpers/lib/_extends.js").default;
const a = 1;
const b = 2;
var foo = _extends({}, {
a: 1,
b: 2
});

View File

@ -1,8 +1,8 @@
{
"mappings": "AACA;;;;;;;;IAIaA,IAAI,MAAJA,IAAI;IAJLC,GAAG;;qBAAM,OAAO;AAIrB,MAAMD,IAAI,GAAG,CAACE,EAAU,GAAsB;IACjD,sBAAsB;IACtB,OAAO,IAAIC,OAAO,CAAC,CAACC,OAAO,GACvBC,UAAU,CAAC,IAAM;YACbD,OAAO,CAAC,QAAQ,CAAC,CAAC;SACrB,EAAE,IAAI,CAAC,CACX,CAAC;CACL,AAAC",
"mappings": "AACA;;;;;;;;IAAYA,GAAG;IAIFC,IAAI,MAAJA,IAAI;;qBAJI,OAAO;AAIrB,MAAMA,IAAI,GAAG,CAACC,EAAU,GAAsB;IACjD,sBAAsB;IACtB,OAAO,IAAIC,OAAO,CAAC,CAACC,OAAO,GACvBC,UAAU,CAAC,IAAM;YACbD,OAAO,CAAC,QAAQ,CAAC,CAAC;SACrB,EAAE,IAAI,CAAC,CACX,CAAC;CACL,AAAC",
"names": [
"byID",
"get",
"byID",
"id",
"Promise",
"resolve",

View File

@ -6,8 +6,8 @@ function _export(target, all) {
});
}
_export(exports, {
byID: ()=>byID,
get: ()=>_get
get: ()=>_get,
byID: ()=>byID
});
const _get = require("./get");
const byID = (id)=>{

File diff suppressed because one or more lines are too long

View File

@ -9,15 +9,15 @@ function _export(target, all) {
});
}
_export(exports, {
create: ()=>create,
header: ()=>header,
node: ()=>_bodyNodesBuilder,
create: ()=>create,
trustBox: ()=>trustBox,
opener: ()=>opener,
seq: ()=>seq,
stage: ()=>stage,
header: ()=>header,
source: ()=>source,
sources: ()=>sources,
stage: ()=>stage,
trustBox: ()=>trustBox
seq: ()=>seq
});
const _classPrivateFieldGet = require("@swc/helpers/lib/_class_private_field_get.js").default;
const _classPrivateFieldInit = require("@swc/helpers/lib/_class_private_field_init.js").default;

File diff suppressed because one or more lines are too long

View File

@ -400,7 +400,7 @@ impl Amd {
let mut export_stmts = Default::default();
if !export_obj_prop_list.is_empty() && !is_export_assign {
export_obj_prop_list.sort_by(|a, b| a.0.cmp(&b.0));
export_obj_prop_list.sort_by(|a, b| a.1.cmp(&b.1));
let features = self.available_features;
let exports = self.exports();

View File

@ -352,7 +352,7 @@ impl Cjs {
let mut export_stmts: Vec<Stmt> = Default::default();
if !export_obj_prop_list.is_empty() && !is_export_assign {
export_obj_prop_list.sort_by(|a, b| a.0.cmp(&b.0));
export_obj_prop_list.sort_by(|a, b| a.1.cmp(&b.1));
if import_interop.is_node() {
let export_id_list: Vec<(JsWord, Span)> = export_obj_prop_list

View File

@ -291,7 +291,7 @@ impl Umd {
let mut export_stmts = Default::default();
if !export_obj_prop_list.is_empty() && !is_export_assign {
export_obj_prop_list.sort_by(|a, b| a.0.cmp(&b.0));
export_obj_prop_list.sort_by(|a, b| a.1.cmp(&b.1));
let features = self.available_features;
let exports = self.exports();

View File

@ -13,10 +13,10 @@ define([
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
bazbar: ()=>baz,
foo: ()=>foo,
foobar: ()=>foo
});
let foo = 1n;

View File

@ -9,10 +9,10 @@ function _export(target, all) {
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
bazbar: ()=>baz,
foo: ()=>foo,
foobar: ()=>foo
});
let foo = 1n;

View File

@ -16,10 +16,10 @@
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
bazbar: ()=>baz,
foo: ()=>foo,
foobar: ()=>foo
});
let foo = 1n;

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -2,7 +2,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.Cachier = void 0;
exports.Cachier = exports.default = void 0;
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
@ -10,8 +10,8 @@ function _export(target, all) {
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -13,12 +13,12 @@ define([
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -2,7 +2,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.y = exports.x = exports.f4 = exports.f3 = exports.f2 = exports.f1 = void 0;
exports.f4 = exports.f3 = exports.f2 = exports.f1 = exports.y = exports.x = void 0;
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
@ -10,12 +10,12 @@ function _export(target, all) {
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -16,12 +16,12 @@
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -13,9 +13,9 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -2,7 +2,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.foo9 = exports.foo8 = exports.foo7 = exports.foo6 = exports.foo5 = exports.foo4 = exports.foo3 = exports.foo2 = exports.foo = exports.bar = void 0;
exports.foo9 = exports.foo8 = exports.foo7 = exports.foo6 = exports.foo5 = exports.foo4 = exports.foo3 = exports.bar = exports.foo2 = exports.foo = void 0;
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
@ -10,9 +10,9 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -16,9 +16,9 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -14,8 +14,8 @@ define([
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
function nextOdd(n) {
return (0, _evens.isEven)(n) ? n + 1 : n + 2;

View File

@ -2,7 +2,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.nextOdd = exports.isOdd = void 0;
exports.isOdd = exports.nextOdd = void 0;
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
@ -10,8 +10,8 @@ function _export(target, all) {
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
const _evens = require("./evens");
function nextOdd(n) {

View File

@ -17,8 +17,8 @@
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
function nextOdd(n) {
return (0, _evens.isEven)(n) ? n + 1 : n + 2;

View File

@ -13,11 +13,11 @@ define([
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -2,7 +2,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.test = exports.f = exports.e = exports.c = exports.a = void 0;
exports.f = exports.e = exports.c = exports.a = exports.test = void 0;
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
@ -10,11 +10,11 @@ function _export(target, all) {
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -16,11 +16,11 @@
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
Cachier: ()=>Cachier,
default: ()=>_default
default: ()=>_default,
Cachier: ()=>Cachier
});
var _default = new Cachier();
function Cachier(databaseName) {}

View File

@ -13,12 +13,12 @@ define([
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -9,12 +9,12 @@ function _export(target, all) {
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -16,12 +16,12 @@
});
}
_export(exports, {
x: ()=>x,
y: ()=>y,
f1: ()=>f1,
f2: ()=>f2,
f3: ()=>f3,
f4: ()=>f4,
x: ()=>x,
y: ()=>y
f4: ()=>f4
});
let x = 0;
let y = 0;

View File

@ -13,9 +13,9 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -9,9 +9,9 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -16,9 +16,9 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo,
foo2: ()=>foo2,
bar: ()=>bar,
foo3: ()=>foo3,
foo4: ()=>foo4,
foo5: ()=>foo5,

View File

@ -14,8 +14,8 @@ define([
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
function nextOdd(n) {
return (0, _evens.isEven)(n) ? n + 1 : n + 2;

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
const _evens = require("./evens");
function nextOdd(n) {

View File

@ -17,8 +17,8 @@
});
}
_export(exports, {
isOdd: ()=>isOdd,
nextOdd: ()=>nextOdd
nextOdd: ()=>nextOdd,
isOdd: ()=>isOdd
});
function nextOdd(n) {
return (0, _evens.isEven)(n) ? n + 1 : n + 2;

View File

@ -13,11 +13,11 @@ define([
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -9,11 +9,11 @@ function _export(target, all) {
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -16,11 +16,11 @@
});
}
_export(exports, {
test: ()=>test,
a: ()=>a,
c: ()=>b,
e: ()=>d,
f: ()=>d,
test: ()=>test
f: ()=>d
});
var test = 2;
test = 5;

View File

@ -13,12 +13,12 @@ define([
});
}
_export(exports, {
addOne: ()=>addOne,
errors: ()=>errors,
noassign: ()=>noassign,
warn: ()=>warn,
errors: ()=>errors,
addOne: ()=>addOne,
someFunc: ()=>someFunc,
test: ()=>test,
warn: ()=>warn
test: ()=>test
});
function log() {
console.log("unexported");

View File

@ -9,12 +9,12 @@ function _export(target, all) {
});
}
_export(exports, {
addOne: ()=>addOne,
errors: ()=>errors,
noassign: ()=>noassign,
warn: ()=>warn,
errors: ()=>errors,
addOne: ()=>addOne,
someFunc: ()=>someFunc,
test: ()=>test,
warn: ()=>warn
test: ()=>test
});
function log() {
console.log("unexported");

View File

@ -16,12 +16,12 @@
});
}
_export(exports, {
addOne: ()=>addOne,
errors: ()=>errors,
noassign: ()=>noassign,
warn: ()=>warn,
errors: ()=>errors,
addOne: ()=>addOne,
someFunc: ()=>someFunc,
test: ()=>test,
warn: ()=>warn
test: ()=>test
});
function log() {
console.log("unexported");

View File

@ -14,8 +14,8 @@ define([
}
_export(exports, {
default: ()=>someCall,
test: ()=>test,
warn: ()=>warn
warn: ()=>warn,
test: ()=>test
});
function someCall() {
throw new Error("this should not be called");

View File

@ -10,8 +10,8 @@ function _export(target, all) {
}
_export(exports, {
default: ()=>someCall,
test: ()=>test,
warn: ()=>warn
warn: ()=>warn,
test: ()=>test
});
function someCall() {
throw new Error("this should not be called");

View File

@ -17,8 +17,8 @@
}
_export(exports, {
default: ()=>someCall,
test: ()=>test,
warn: ()=>warn
warn: ()=>warn,
test: ()=>test
});
function someCall() {
throw new Error("this should not be called");

View File

@ -13,11 +13,11 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
bar2: ()=>bar,
default: ()=>_default,
foo: ()=>foo,
foo1: ()=>foo
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
foo: ()=>foo
});
const foo = 1;
let bar = 2;

View File

@ -9,11 +9,11 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
bar2: ()=>bar,
default: ()=>_default,
foo: ()=>foo,
foo1: ()=>foo
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
foo: ()=>foo
});
const foo = 1;
let bar = 2;

View File

@ -16,11 +16,11 @@
});
}
_export(exports, {
bar: ()=>bar,
bar2: ()=>bar,
default: ()=>_default,
foo: ()=>foo,
foo1: ()=>foo
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
foo: ()=>foo
});
const foo = 1;
let bar = 2;

View File

@ -14,10 +14,10 @@ define([
}
_export(exports, {
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
default: ()=>bar,
foo: ()=>foo,
foo1: ()=>foo
default: ()=>bar
});
const foo = 1;
let bar = 2;

View File

@ -10,10 +10,10 @@ function _export(target, all) {
}
_export(exports, {
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
default: ()=>bar,
foo: ()=>foo,
foo1: ()=>foo
default: ()=>bar
});
const foo = 1;
let bar = 2;

View File

@ -17,10 +17,10 @@
}
_export(exports, {
bar: ()=>bar,
foo1: ()=>foo,
bar2: ()=>bar,
default: ()=>bar,
foo: ()=>foo,
foo1: ()=>foo
default: ()=>bar
});
const foo = 1;
let bar = 2;

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
function foo() {}

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
function foo() {}

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
function foo() {}

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
class foo {

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
class foo {

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>foo,
default: ()=>foo
default: ()=>foo,
bar: ()=>foo
});
foo = 1;
class foo {

View File

@ -14,8 +14,8 @@ define([
});
}
_export(exports, {
byID: ()=>byID,
get: ()=>_get
get: ()=>_get,
byID: ()=>byID
});
_get = _interopRequireWildcard(_get);
const byID = (id)=>{

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
byID: ()=>byID,
get: ()=>_get
get: ()=>_get,
byID: ()=>byID
});
const _get = _interopRequireWildcard(require("./get"));
const byID = (id)=>{

View File

@ -17,8 +17,8 @@
});
}
_export(exports, {
byID: ()=>byID,
get: ()=>_get
get: ()=>_get,
byID: ()=>byID
});
_get = _interopRequireWildcard(_get);
const byID = (id)=>{

View File

@ -17,11 +17,11 @@ define([
});
}
_export(exports, {
breakpoints: ()=>breakpoints,
clsx: ()=>_css.cx,
cx: ()=>_css.cx,
default: ()=>_default,
keyframes: ()=>_css.keyframes
cx: ()=>_css.cx,
clsx: ()=>_css.cx,
keyframes: ()=>_css.keyframes,
breakpoints: ()=>breakpoints
});
_styled = _interopRequireDefault(_styled);
interface IStyledProp {

View File

@ -9,11 +9,11 @@ function _export(target, all) {
});
}
_export(exports, {
breakpoints: ()=>breakpoints,
clsx: ()=>_css.cx,
cx: ()=>_css.cx,
default: ()=>_default,
keyframes: ()=>_css.keyframes
cx: ()=>_css.cx,
clsx: ()=>_css.cx,
keyframes: ()=>_css.keyframes,
breakpoints: ()=>breakpoints
});
require(".");
const _styled = _interopRequireDefault(require("@emotion/styled"));

View File

@ -20,11 +20,11 @@
});
}
_export(exports, {
breakpoints: ()=>breakpoints,
clsx: ()=>_css.cx,
cx: ()=>_css.cx,
default: ()=>_default,
keyframes: ()=>_css.keyframes
cx: ()=>_css.cx,
clsx: ()=>_css.cx,
keyframes: ()=>_css.keyframes,
breakpoints: ()=>breakpoints
});
_styled = _interopRequireDefault(_styled);
interface IStyledProp {

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
Foo: ()=>Foo,
default: ()=>_default,
Foo: ()=>Foo,
foo: ()=>foo
});
class Foo {

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
Foo: ()=>Foo,
default: ()=>_default,
Foo: ()=>Foo,
foo: ()=>foo
});
class Foo {

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
Foo: ()=>Foo,
default: ()=>_default,
Foo: ()=>Foo,
foo: ()=>foo
});
class Foo {

View File

@ -14,8 +14,8 @@ define([
});
}
_export(exports, {
Foo: ()=>_moduleWithGetter.default,
baz: ()=>_moduleWithGetter.baz
baz: ()=>_moduleWithGetter.baz,
Foo: ()=>_moduleWithGetter.default
});
_moduleWithGetter = _interopRequireWildcard(_moduleWithGetter);
});

View File

@ -9,7 +9,7 @@ function _export(target, all) {
});
}
_export(exports, {
Foo: ()=>_moduleWithGetter.default,
baz: ()=>_moduleWithGetter.baz
baz: ()=>_moduleWithGetter.baz,
Foo: ()=>_moduleWithGetter.default
});
const _moduleWithGetter = _interopRequireWildcard(require("./moduleWithGetter"));

View File

@ -17,8 +17,8 @@
});
}
_export(exports, {
Foo: ()=>_moduleWithGetter.default,
baz: ()=>_moduleWithGetter.baz
baz: ()=>_moduleWithGetter.baz,
Foo: ()=>_moduleWithGetter.default
});
_moduleWithGetter = _interopRequireWildcard(_moduleWithGetter);
});

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar = 2] = [];
});

View File

@ -9,7 +9,7 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar = 2] = [];

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar = 2] = [];
});

View File

@ -13,9 +13,9 @@ define([
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
foo: ()=>foo
baz: ()=>baz
});
const [foo, bar, ...baz] = [];
});

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
foo: ()=>foo
baz: ()=>baz
});
const [foo, bar, ...baz] = [];

View File

@ -16,9 +16,9 @@
});
}
_export(exports, {
foo: ()=>foo,
bar: ()=>bar,
baz: ()=>baz,
foo: ()=>foo
baz: ()=>baz
});
const [foo, bar, ...baz] = [];
});

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar] = [];
});

View File

@ -9,7 +9,7 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar] = [];

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const [foo, bar] = [];
});

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , bar =1 } = {};
});

View File

@ -9,7 +9,7 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , bar =1 } = {};

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , bar =1 } = {};
});

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , ...bar } = {};
});

View File

@ -9,7 +9,7 @@ function _export(target, all) {
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , ...bar } = {};

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
bar: ()=>bar,
foo: ()=>foo
foo: ()=>foo,
bar: ()=>bar
});
const { foo , ...bar } = {};
});

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {

View File

@ -13,8 +13,8 @@ define([
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {

View File

@ -9,8 +9,8 @@ function _export(target, all) {
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {

View File

@ -16,8 +16,8 @@
});
}
_export(exports, {
diff: ()=>diff,
diffLevel: ()=>diffLevel
diffLevel: ()=>diffLevel,
diff: ()=>diff
});
let diffLevel = 0;
function diff() {