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 must not duplicate the css files #1477

Closed Merkur39 closed 2 years ago

Merkur39 commented 2 years ago

The CSS file that the public page needs is kept in the public folder. fix: https://github.com/cozy/create-cozy-app/pull/1457

Example of the "build" folder (CSS view): Before:

/app
   <appSlug>.<id>.min.css
/intents
   <appSlug>.<id>.min.css
/public
   <appSlug>.<id>.min.css
/vendors
app-<appSlug>.<id>.min.css
intents-<appSlug>.<id>.min.css
public-<appSlug>.<id>.min.css
vendors-<appSlug>.<id>.min.css

After:

/app
/intents
/public
   <appSlug>.<id>.min.css
/vendors
app-<appSlug>.<id>.min.css
intents-<appSlug>.<id>.min.css
vendors-<appSlug>.<id>.min.css

Tested with the Drive & CoachCO2 apps.

Merkur39 commented 2 years ago

Tout me semble OK de mon côté!