rna
rna copied to clipboard
🚀 Build tools for modern web modules and applications.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
This PR introduces the `esbuild-plugin-lightningcss` that can be used to replace the `esbuild-plugin-postcss` in the most of the cases. ## Changes * The `rna-bundler` "includes" `esbuild-plugin-lightningcss` as main dependency (previously,...
Thanks for quick fixing #164 Now I am able to esbuild a code using [quickjs-emscripten](https://github.com/justjake/quickjs-emscripten) that leverages `new URL(..., import.meta.url)`. However, I noticed that the built JS throws a runtime...
@chialab/esbuild-plugin-meta-url @chialab/esbuild-plugin-worker cant live with esbuild-plugin-dev-server or @jgoz/esbuild-plugin-livereload After I commented out these two plugins, the port error disappeared. It seems the server plugin is called multiple times. It can...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
I'm trying to use esbuild-plugin-html with the esbuild-plugin-glob plugin to use it with several html files, like this: `[ "pages/**/*.html", "dynamic_pages/**/*.html"];` This breaks as the code now just uses the...
Instead of inserting a `` at https://github.com/chialab/rna/blob/6f5fefd50f39a82d7bd01106b54e4acb07cb8806/packages/esbuild-plugin-html/lib/collectScripts.js#L102 are you able to insert a `` directly? This would look more natural, and it would add support for users who disable Javascript.
This PR introduces a `injectStylesAs` configuration to set the inject behavior for CSS imports in JavaScript modules. It should fix #172
Node v21.5.0 ``` (node:23616) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. at node:punycode:3:9 at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:397:7) at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:333:10) at loadBuiltinModule (node:internal/modules/helpers:101:7) at Module._load...
When I don't set `chunkNames` to include `[hash]` it seems my JS file is written with a module importing the entryfile (my `index.html`) instead of the expected ESM output: ```js...