Comments (6)
Hello @ksmithut, thanks for reaching out. I can confirm that it was an unhandled case, but with it should be fixed now with the v0.11.20 release!
Thank you and let me know if it fixed the bug!
from rna.
It does appear to work when I have two html entrypoints, but now if I only have one, it puts the esm/
folder outside of my configured outdir
option
from rna.
Hello @ksmithut! I have released a fix some days ago, have you used the plugin recently?
from rna.
Yes, it seems to be working as expected in the build :) Maybe this warrants a separate issue, but is there an example of how to use this plugin with esbuild.serve()
? It appears that in the example above, it's serving the index.html
with the link to the index.js
without the esm/
prefix, so it's not finding the assets properly.
from rna.
Hi @ksmithut, we (still) dont use esbuild as dev server, but I will give it a look!
from rna.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from rna.
Related Issues (20)
- [esbuild-plugin-html] Load style files without script HOT 4
- [esbuild-plugin-alias] Align with esbuild builtin alias management HOT 1
- esbuild-plugin-html does not use the original directory of the source file HOT 6
- esbuild-plugin-meta-url only transforms node_modules? HOT 1
- document how to interop normal esbuild plugin with esbuild-rna plugin HOT 2
- Unable to specify an output directory with esbuild-plugin-meta-url HOT 3
- Feature Request: Single Page Application support for the HTML plugin. HOT 1
- feat: [esbuild-plugin-html] Support esbuild `publicPath` HOT 1
- SyntaxError: Identifier '__filename' has already been declared HOT 3
- Weird behavior when not using `hash`
- SourceMapNode is not a constructor HOT 3
- Minimize html
- Error with `require-resolve` HOT 2
- esbuild-plugin-html only watches the HTML file HOT 7
- esbuild-plugin-meta-url + quickjs-emscripten aborts
- Replace `punycode` module due to deprecation HOT 4
- How to get metadata when building HTML files? HOT 1
- Insert <link> directly, without an intermediate <script> HOT 10
- import.meta.url is undefined for CommonJS output, causing TypeError [ERR_INVALID_ARG_VALUE]
- Plugin incompatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rna.