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
I am in a similar situation to #20.
I have my index.html file inside the static folder. And I don't want to copy the index.html file, which is processed by parcel and copied to dist. It would be nice to ignore the index.html in the target directory.
I have tried the single file example, and it just gave me parcel-reporter-static-files-copy missing error.
Steps to Reproduce
Have your index.html inside src.
Your project structure should look something like this -
I am in a similar situation to #20. I have my index.html file inside the static folder. And I don't want to copy the index.html file, which is processed by parcel and copied to dist. It would be nice to ignore the index.html in the target directory.
Hm... That's something that is not expected (putting sources and static files in the same directory). Excluding looks like a nice feature.
But with the latest version it can be solved with multiple static file paths. Example can be found in in envFilter directory. For the project structure you mentioned configuration could look like this:
I have tried the single file example, and it just gave me parcel-reporter-static-files-copy missing error.
I've checked and it works perfectly for me with the latest version. Could you provide more info (e.g. what OS, what config, maybe repo with reproduction in that case)?
...chomp...
5. Running npm start results in some dependency resolution error in browser.
Yep, index.html is overwritten by one from src directory. Because of that it loads main.js instead of main.somehash.js - the latter is ready to run in browser and the former could not be.
I am in a similar situation to #20.
I have my index.html file inside the static folder. And I don't want to copy the index.html file, which is processed by parcel and copied to dist. It would be nice to ignore the index.html in the target directory.
I have tried the single file example, and it just gave me
parcel-reporter-static-files-copy missing error
.Steps to Reproduce
src
.Your project structure should look something like this -
.parcelrc
content -main.js
inindex.html
-<script type="module" src="main.js"></script>
npm start
results in some dependency resolution error in browser.The text was updated successfully, but these errors were encountered: