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
599c8b9
commit b514add
Showing
27 changed files
with
206 additions
and
61 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
5 changes: 5 additions & 0 deletions
5
packages/commonjs/test/fixtures/form/defaultIsModuleExports-auto-__esModule/_config.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,5 @@ | ||
module.exports = { | ||
options: { | ||
defaultIsModuleExports: 'auto' | ||
} | ||
}; |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
packages/commonjs/test/fixtures/form/defaultIsModuleExports-auto-__esModule/output.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,15 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = /*#__PURE__*/ Object.defineProperty( | ||
{ | ||
default: _default, | ||
named | ||
}, | ||
'__esModule', | ||
{ value: true } | ||
); | ||
|
||
export default _default; | ||
export { input as __moduleExports }; | ||
export { named }; |
5 changes: 5 additions & 0 deletions
5
packages/commonjs/test/fixtures/form/defaultIsModuleExports-auto-no-__esModule/_config.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,5 @@ | ||
module.exports = { | ||
options: { | ||
defaultIsModuleExports: 'auto' | ||
} | ||
}; |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
packages/commonjs/test/fixtures/form/defaultIsModuleExports-auto-no-__esModule/output.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,11 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = { | ||
default: _default, | ||
named | ||
}; | ||
|
||
export default input; | ||
export { input as __moduleExports }; | ||
export { named }; |
5 changes: 5 additions & 0 deletions
5
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-__esModule/_config.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,5 @@ | ||
module.exports = { | ||
options: { | ||
defaultIsModuleExports: false | ||
} | ||
}; |
3 changes: 3 additions & 0 deletions
3
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-__esModule/input.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,3 @@ | ||
exports.__esModule = true; | ||
exports.default = 2; | ||
exports.named = 3; |
15 changes: 15 additions & 0 deletions
15
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-__esModule/output.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,15 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = /*#__PURE__*/ Object.defineProperty( | ||
{ | ||
default: _default, | ||
named | ||
}, | ||
'__esModule', | ||
{ value: true } | ||
); | ||
|
||
export default _default; | ||
export { input as __moduleExports }; | ||
export { named }; |
5 changes: 5 additions & 0 deletions
5
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-__esModule/_config.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,5 @@ | ||
module.exports = { | ||
options: { | ||
defaultIsModuleExports: false | ||
} | ||
}; |
2 changes: 2 additions & 0 deletions
2
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-__esModule/input.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,2 @@ | ||
exports.default = 2; | ||
exports.named = 3; |
11 changes: 11 additions & 0 deletions
11
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-__esModule/output.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,11 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = { | ||
default: _default, | ||
named | ||
}; | ||
|
||
export default _default; | ||
export { input as __moduleExports }; | ||
export { named }; |
5 changes: 5 additions & 0 deletions
5
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-default/_config.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,5 @@ | ||
module.exports = { | ||
options: { | ||
defaultIsModuleExports: false | ||
} | ||
}; |
1 change: 1 addition & 0 deletions
1
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-default/input.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 @@ | ||
exports.named = 3; |
9 changes: 9 additions & 0 deletions
9
packages/commonjs/test/fixtures/form/defaultIsModuleExports-false-no-default/output.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,9 @@ | ||
const named = 3; | ||
|
||
const input = { | ||
named | ||
}; | ||
|
||
export default input.default; | ||
export { input as __moduleExports }; | ||
export { named }; |
2 changes: 1 addition & 1 deletion
2
...m/nodeDefaultImport-__esModule/_config.js → ...sModuleExports-true-__esModule/_config.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
options: { | ||
nodeDefaultImport: true | ||
defaultIsModuleExports: true | ||
} | ||
}; |
3 changes: 3 additions & 0 deletions
3
packages/commonjs/test/fixtures/form/defaultIsModuleExports-true-__esModule/input.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,3 @@ | ||
exports.__esModule = true; | ||
exports.default = 2; | ||
exports.named = 3; |
15 changes: 15 additions & 0 deletions
15
packages/commonjs/test/fixtures/form/defaultIsModuleExports-true-__esModule/output.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,15 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = /*#__PURE__*/ Object.defineProperty( | ||
{ | ||
default: _default, | ||
named | ||
}, | ||
'__esModule', | ||
{ value: true } | ||
); | ||
|
||
export default input; | ||
export { input as __moduleExports }; | ||
export { named }; |
2 changes: 1 addition & 1 deletion
2
...odeDefaultImport-no-__esModule/_config.js → ...duleExports-true-no-__esModule/_config.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
options: { | ||
nodeDefaultImport: true | ||
defaultIsModuleExports: true | ||
} | ||
}; |
2 changes: 2 additions & 0 deletions
2
packages/commonjs/test/fixtures/form/defaultIsModuleExports-true-no-__esModule/input.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,2 @@ | ||
exports.default = 2; | ||
exports.named = 3; |
11 changes: 11 additions & 0 deletions
11
packages/commonjs/test/fixtures/form/defaultIsModuleExports-true-no-__esModule/output.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,11 @@ | ||
const _default = 2; | ||
const named = 3; | ||
|
||
const input = { | ||
default: _default, | ||
named | ||
}; | ||
|
||
export default input; | ||
export { input as __moduleExports }; | ||
export { named }; |
14 changes: 0 additions & 14 deletions
14
packages/commonjs/test/fixtures/form/nodeDefaultImport-__esModule/output.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.