[英]deploying problem with multiple html files. Parcel
with 1 entry point, it goes all right, but I want multiple HTML files.
有 1 个入口点,一切正常,但我想要多个 HTML 文件。
I've searched online commands like:我搜索了在线命令,例如:
"build:client": "parcel build client\/index.html --out-dir dist\/client",<\/code><\/pre> or或者
![](/img/trans.png)
"build:server": "parcel build server\/index.js --target node --out-dir dist\/server",<\/code><\/pre> or even more with this weird flag command: --watch<\/code>
甚至更多使用这个奇怪的标志命令:-- --watch<\/code>
"
all you need to do for client part:您需要为客户部分做的所有事情:
npx parcel build ./*.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.