Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TOML & JSON support in Bun's new bundler #2609

Merged
merged 3 commits into from
Apr 10, 2023

Conversation

Jarred-Sumner
Copy link
Collaborator

@Jarred-Sumner Jarred-Sumner commented Apr 10, 2023

  • This also fixes a crash with empty content (probably)
  • This also fixes unbound namespace imports causing missing content

image

@github-actions
Copy link
Contributor

@Jarred-Sumner 13 files with test failures on linux-x64:

  • test/bundler/esbuild/default.test.ts
  • test/bundler/esbuild/importstar.test.ts
  • test/bundler/esbuild/splitting.test.ts
  • test/bundler/transpiler.test.js
  • test/js/bun/http/serve.test.ts
  • test/js/bun/plugin/plugins.test.ts
  • test/js/bun/resolve/import-meta.test.js
  • test/js/bun/resolve/png/test-png-import.test.js
  • test/js/bun/test/snapshot-tests/snapshots/more-snapshots/different-directory.test.ts
  • test/js/bun/test/snapshot-tests/snapshots/more.test.ts
  • test/js/bun/test/test-test.test.ts
  • test/js/node/child_process/child_process-node.test.js
  • test/js/node/stubs.test.js

View test output

#d58d6ecf39bdc46895198d72723eba87ade8294d

@github-actions
Copy link
Contributor

@Jarred-Sumner 13 files with test failures on linux-x64-baseline:

  • test/bundler/esbuild/default.test.ts
  • test/bundler/esbuild/importstar.test.ts
  • test/bundler/esbuild/splitting.test.ts
  • test/bundler/transpiler.test.js
  • test/js/bun/http/serve.test.ts
  • test/js/bun/plugin/plugins.test.ts
  • test/js/bun/resolve/import-meta.test.js
  • test/js/bun/resolve/png/test-png-import.test.js
  • test/js/bun/test/snapshot-tests/snapshots/more-snapshots/different-directory.test.ts
  • test/js/bun/test/snapshot-tests/snapshots/more.test.ts
  • test/js/bun/test/test-test.test.ts
  • test/js/node/child_process/child_process-node.test.js
  • test/js/node/stubs.test.js

View test output

#d58d6ecf39bdc46895198d72723eba87ade8294d

@Jarred-Sumner Jarred-Sumner merged commit 373248c into main Apr 10, 2023
@Jarred-Sumner Jarred-Sumner deleted the jarred/toml-and-json branch April 10, 2023 13:35
dylan-conway pushed a commit that referenced this pull request Apr 10, 2023
* Implement JSON & TOML support in the bundler

* Fix failing to bind namespace imports

* Support namespace exports better

---------

Co-authored-by: Jarred Sumner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant