Coder Social home page Coder Social logo

Comments (15)

 avatar commented on June 14, 2024 1

from parcel-plugin-custom-dist-structure.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

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.

 avatar commented on June 14, 2024

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.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

@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.

 avatar commented on June 14, 2024

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.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

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.

 avatar commented on June 14, 2024

from parcel-plugin-custom-dist-structure.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

.webmanifest file doesn't ring the bell. What type of project are you working on?

from parcel-plugin-custom-dist-structure.

 avatar commented on June 14, 2024

from parcel-plugin-custom-dist-structure.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

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.

 avatar commented on June 14, 2024

from parcel-plugin-custom-dist-structure.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

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.

 avatar commented on June 14, 2024

from parcel-plugin-custom-dist-structure.

 avatar commented on June 14, 2024

from parcel-plugin-custom-dist-structure.

VladimirMikulic avatar VladimirMikulic commented on June 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.