-
I see that riot.ems.js was removed when moving into 7.0.0. Is the intention to just stay with 6.1.2 if we use riot this way or have I just not see the solution? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
We don't use node as our back end (exclusively), so it was easy for us to just use the existing esm file directly in the browser along with riot cli. Let me attempt building the esm file as you suggest. |
Beta Was this translation helpful? Give feedback.
-
So if I install riot via npm how do I use the riot/esm folder via webpack? I don't want to link to a 3rd party site, and I want to generate a single file (local). Not running a SPA, so instead of multiple webpack entries, I just want one to generate this file and use it as above. |
Beta Was this translation helpful? Give feedback.
-
esbuild allowed me to create an riot.esm.js, below is an example if anyone would be assisted by this
that outfile can be directly used in the browser
where raw.riot is (pre riot cli)
|
Beta Was this translation helpful? Give feedback.
esbuild allowed me to create an riot.esm.js, below is an example if anyone would be assisted by this
that outfile can be directly used in the browser
where raw.riot is (pre riot cli)