-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder Structure Bundling #4006
Comments
This will be possible in Parcel 2, thanks to the naming plugin. Parcel 1 has a flat file structure with hashes as this is the easiest to deploy to a cdn |
Can I use parcel 2 as of now |
@Gizmo-Rishab we're working very hard to get to a stable version asap, you can try it out |
How can I try it? 🤔 |
@Gizmo-Rishab follow the steps in the readme https://github.com/parcel-bundler/parcel#getting-started |
So I should run the commands below right @DeMoorJasper ? $ npm uninstall parcel-bundler
$ npm install --save-dev parcel@next |
Yes |
Probably npm audit doesn't really work properly |
When I checked npm audit's logs, it showed a 196 error's of deprecated dependencies |
I wouldn't worry about it, it reports a LOT of false positives. Most security issues according to npm aren't a security issue at all as they apply to a piece of code which is never even being ran or a dos vulnerability that makes no sense in the context it is used. It's unfortunate because this will eventually cause people to ignore this and also ignore the real security issues it rarely reports. |
Ok |
Has this feature been rolled into |
🙋 feature request
Could it be possible for parcel to bundle all the files according to the folder structure beginning from where are file is
🤔 Expected Behavior
Lets say we have the file structure below
| - Src -|
| | - Server.js (config file)
| | - Public - |
| | | - Index.html
| | | - Styles.css
Can it be loaded as the above in the dist
😯 Current Behavior
This is the file structre in dist
| - Server.js (config file)
| - Index.html
| - Styles.css
All files are in the root itself
💁 Possible Solution
Use fs-extra manipulation to load them as is
The text was updated successfully, but these errors were encountered: