Skip to content

Commit

Permalink
test(esbuild/packgaejson): enable test_package_json_exports_default_o…
Browse files Browse the repository at this point in the history
…ver_import_and_require (#1263)

Co-authored-by: jason.zhu <jason.zhu@shopee.com>
  • Loading branch information
zhusjfaker and jason.zhu committed May 29, 2024
1 parent 5b147e5 commit 37b100a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
source: crates/rolldown/tests/common/case.rs
expression: content
input_file: crates/rolldown/tests/esbuild/packagejson/test_package_json_exports_default_over_import_and_require
---
# Assets

## entry.mjs

```js
// node_modules/pkg/default.js
console.log('SUCCESS');
```
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,10 @@ expression: "snapshot_outputs.join(\"\\n\")"

- entry-!~{000}~.mjs => entry-a0bF4eQm.mjs

# tests/esbuild/packagejson/test_package_json_exports_default_over_import_and_require

- entry-!~{000}~.mjs => entry-JF9d90w2.mjs

# tests/esbuild/packagejson/test_package_json_exports_entry_point_import_over_require

- entry-!~{000}~.mjs => entry-3tCW4XWQ.mjs
Expand Down

0 comments on commit 37b100a

Please sign in to comment.