问题
I need to pack and minify all and concatenate all my JS files I am totally new to parcel and I would know if I can pack files inside a php file instead of html
ex:
parcel index.php
Any tips for people who mix php and js and that want to use parcel ?
回答1:
Currently Parcel doesn't have any PHP support. It's possible that support could be added via plugin, but it seems that nobody has done that yet.
来源:https://stackoverflow.com/questions/49825327/parcel-js-and-php-index-php-file