parcel src/App.js src/App.css --out-dir ../../resources/static/dashboard --out-file dashboard
I am expecting to see the following files:
dashboard.css
dashboard.js
currently I see:
App.css
App.js
dashboard.css
dashboard.js
App.css & dashboard.css have the same content
Both the JS file are different
contents of generated App.js : https://pastebin.com/jc6Sj5AL
contents of generated dashboard.js : https://pastebin.com/5dq9c1Y5
| Software | Version(s) |
| ---------------- | ---------- |
| Parcel | latest
| Node | latest
| npm/Yarn | npm
| Operating System | mac
I am expecting to see the following files:
dashboard.css
dashboard.js
You can't use the --out-file flag with multiple entrypoints. But the output should still not 4 files instead of 2...
I get these files:
App.css
App.css.map
App.js
dashboard.js
dashboard.js.map
You can't use the --out-file flag with multiple entrypoints. But the output should still not 4 files instead of 2...
It works perfectly, I don't really mind this bug to be called a feature!
(apart from the two extra files, which I don't know what they are generated for)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.
Most helpful comment
You can't use the
--out-fileflag with multiple entrypoints. But the output should still not 4 files instead of 2...