Comments (15)
from parcel-plugin-custom-dist-structure.
Hi @pukarsharma112.
First of all, you need to know that Parcel bundles all files referenced by index
file that you specify (its dependencies) and they are outputted in the root of the dist
folder.
If I understand you correctly, you would like to keep favicon.png, apple-touch-icon.png, service-worker.js
in the root of the dist folder, right?
from parcel-plugin-custom-dist-structure.
yes, i understand that parcel by default put all files in dist folder so i used your plugin to structure the dist folder. But i want to ignore some files like mentioned above so that they will always be on root folder...
from parcel-plugin-custom-dist-structure.
@pukarsharma112 sorry for a late reply. Currently, it is not possible to ignore specific files. By any chance, could this plugin provide the functionality you desire?
from parcel-plugin-custom-dist-structure.
thanks for your suggestion but that plugin don't provide what i want. Anyway your plugin is still helping me :-)
from parcel-plugin-custom-dist-structure.
I appreciate your kind words @pukarsharma112. I have some plans to improve this plugin and I'll make sure to include this feature as well :)
from parcel-plugin-custom-dist-structure.
from parcel-plugin-custom-dist-structure.
.webmanifest
file doesn't ring the bell. What type of project are you working on?
from parcel-plugin-custom-dist-structure.
from parcel-plugin-custom-dist-structure.
Thanks for the clarification. This plugin updates path of files that are present in the graph which the plugin receives from Parcel.
If manifest.webmanifest
is not in the graph, then it won't modify it. Could you possibly set up an example project so I can take a look and see what's going on? Thanks.
from parcel-plugin-custom-dist-structure.
from parcel-plugin-custom-dist-structure.
Thank you for this @pukarsharma112. This is plugin's issue which I've identified and I am working on the fix!
from parcel-plugin-custom-dist-structure.
from parcel-plugin-custom-dist-structure.
from parcel-plugin-custom-dist-structure.
@pukarsharma112 you are reading my mind. That's exactly what I thought. You could specify an array containing Regex expressions which describe which files plugin should ignore/keep in the root of the dist folder.
By the way, I've fixed the issue with the manifest, checkout newest version 1.1.14.
Enjoy and stay tuned for additional updates :)
Lastly, I would like to thank you for your help and for reporting these issues which need to be addressed.
PS. Please, don't call me "sir". Don't hesitate to comment and express your opinion. After all, we are software developers not military commanders :)
from parcel-plugin-custom-dist-structure.
Related Issues (20)
- Incorrect dependency resolution after update in watch mode with public-url HOT 17
- Multiple HTML pages cannot use the same css, image HOT 17
- The "id" argument must be of type string HOT 4
- The image path in css doesn't replaced HOT 19
- Wrong path of imported image on build HOT 9
- DevTools failed to load SourceMap HOT 6
- Request information about readme enclosed image HOT 4
- The plugin doesn't work for me HOT 4
- Merge with parcel-plugin-structurize HOT 4
- Puts css in folder but does not link to it HOT 2
- Does it work for parcel version 2? HOT 8
- How to save svg fonts to the fonts folder? HOT 7
- The plugin "parcel-plugin-custom-dist-structure" has encountered an error. HOT 3
- Websocket is not open - Error HOT 2
- Configure HOT 2
- Not working in npm7 workspaces HOT 2
- [Suggestion] Join forces with 'structurize' and 'parcel-namer-rewrite' HOT 6
- Custom dist structure in parcel v2 HOT 4
- parcel localhost breaks when customDistStructure is added to package.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parcel-plugin-custom-dist-structure.