cozy / create-cozy-app

A CLI to bootstrap a "zero-configuration" application for the Cozy V3 platform
https://docs.cozy.io/en/tutorials/app/
MIT License
16 stars 15 forks source link

fix(scripts): webpack build css inside different folders AND main folders #1457

Closed trollepierre closed 2 years ago

trollepierre commented 2 years ago

Main reason is Drive needs CSS styles to be served in public folder to be viewed inside "Public Views" (after Sharings) fix #1360 addendum to #1355

Crash-- commented 2 years ago

I think the linked issue should be https://github.com/cozy/create-cozy-app/issues/1360 instead of #1369

Crash-- commented 2 years ago

So we're generating the same files twice?

trollepierre commented 2 years ago

So we're generating the same files twice?

Yes. I tried to use CopyPlugin, but as Webpack Plugin can be called in any order, this does not work.

I saw 2 options:

Crash-- commented 2 years ago

👍