Change8

@cloudflare/vite-plugin@1.30.1

📦 cloudflare-workersView on GitHub →
1 features🐛 1 fixes

Summary

This patch release fixes an issue preventing subpath imports for various module types and enables this functionality via configuration in `package.json`. Dependencies including wrangler and miniflare were also updated.

Migration Steps

  1. Define subpath imports for module types like `.html`, `.txt`, `.sql`, `.bin`, or `.wasm` in your `package.json` `imports` field to enable their use via imports (e.g., `import page from "#templates/page";`).

✨ New Features

  • Enabled using subpath imports for additional module types (`.html`, `.txt`, `.sql`, `.bin`, `.wasm`) by defining them in the `package.json` `imports` field.

🐛 Bug Fixes

  • Fixed a bug that prevented using subpath imports for additional module types.