Skip to content

Doesn't work with the Webpack Encore #372

Closed
@YSkrzypczyk

Description

@YSkrzypczyk

hello,
I use a WEBPACK for the generation of my css and my js and so it adds a build folder in the public folder. Unfortunately this folder does not appear in the caddy container, is there a solution?

I add this :

RUN apk add --no-cache
...
nodejs
npm
...
;

and this :

RUN set -eux;
npm install;
npm update;
npm run build;

But in this logic I have to rebuild to run the webpack again which is not perfect.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions