PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.66k stars 370 forks source link

[RFC] use custom parcel namer with plasmo #521

Open agungjk opened 1 year ago

agungjk commented 1 year ago

How do you envision this feature/change to look/work like?

The framework can use a custom parcel namer like this one https://www.npmjs.com/package/parcel-namer-hashless

What is the purpose of this change/feature? Why?

when building a safari extension using xcrun safari-web-extension-converter if I rebuild the extension, the file becomes invalid because the name is updated with the new hash I want to include all files in the Xcode project without hash

then, I don't have to run xcrun safari-web-extension-converter and setup the configuration from the start just rebuild the extension for safari and clean the project in the Xcode

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contact Details

No response

Verify canary release

Code of Conduct

louisgv commented 1 year ago

@agungjk FYI, it seems that you don't need to do a hard copy of the bundle. It's possible to just have a project reference pointing to a built directory. It works well on my end when refreshing, no need to redo much when dev with Safari.

agungjk commented 1 year ago

@louisgv Yes, right now then problem is when I build the project and generate the Xcode project and then push the changes to the repository when my partner pulls the changes and rebuild the project, the reference becomes invalid