You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you consider adding a --dest CLI option in order to define an output folder? While working with it I found I work in my projects with a src folder, so when importing without bundlers and transpilers, the fact that the web_modules is in the root made me to move manually the web_modules inside the src folder in order to ESM imports to work accordingly.
My src/app.js (loaded from an src/index.html) looks like that.
import htm from './web_modules/htm.js'
import {h, render} from './web_modules/preact.js'
Even If we want to perform the pika-web on the bundle process, if the site is static, sometimes we move the src to a public folder and I would like to to the pika-web directly pointing to a dest folder instead having to move manually.
If that do so I would love to work on it (any indication would be appreciated in order to optimize the process to get it merged ;)) and also I will like to know if the web_modules folder is a must or the dest folder would be completely customizable.
Thanks!
The text was updated successfully, but these errors were encountered:
First of all, awesome work. I love the idea!
Would you consider adding a
--dest
CLI option in order to define an output folder? While working with it I found I work in my projects with asrc
folder, so when importing without bundlers and transpilers, the fact that theweb_modules
is in the root made me to move manually theweb_modules
inside thesrc
folder in order to ESM imports to work accordingly.My
src/app.js
(loaded from ansrc/index.html
) looks like that.Even If we want to perform the
pika-web
on the bundle process, if the site is static, sometimes we move thesrc
to apublic
folder and I would like to to thepika-web
directly pointing to adest
folder instead having to move manually.If that do so I would love to work on it (any indication would be appreciated in order to optimize the process to get it merged ;)) and also I will like to know if the
web_modules
folder is a must or thedest
folder would be completely customizable.Thanks!
The text was updated successfully, but these errors were encountered: