From 40b55e47def813c41dec4e8e35ba9da5217da952 Mon Sep 17 00:00:00 2001 From: SphericalKat Date: Sat, 14 Aug 2021 15:18:55 +0530 Subject: [PATCH] fix(build): prevent all styles from being purged Signed-off-by: SphericalKat --- Dockerfile | 3 +-- assets/package.json | 2 +- assets/static/favicon.ico | Bin 270398 -> 3700 bytes assets/webpack.config.js | 6 +++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f8c157..366e1be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,11 +24,10 @@ RUN npm --prefix ./assets ci --progress=false --no-audit --loglevel=error COPY priv priv COPY assets assets +COPY lib lib RUN npm run --prefix ./assets deploy RUN mix phx.digest -# compile and build release -COPY lib lib # uncomment COPY if rel/ exists # COPY rel rel RUN mix do compile, release diff --git a/assets/package.json b/assets/package.json index 03733a4..5157220 100644 --- a/assets/package.json +++ b/assets/package.json @@ -3,7 +3,7 @@ "description": " ", "license": "MIT", "scripts": { - "deploy": "webpack --mode production", + "deploy": "NODE_ENV=production webpack --mode production", "watch": "webpack --mode development --watch" }, "dependencies": { diff --git a/assets/static/favicon.ico b/assets/static/favicon.ico index c3cea4910b73475a2c69053be629c817589ebd3f..f24722052cd2ef42d7d8628a4e10bf7790dc7986 100644 GIT binary patch literal 3700 zcmV-)4vX2r_e!TX@aXucSG~StzZ_2*XY)Hn(BalNC}m;~Mbn)uMhJy~ZuS4_ zCWW510UX}@y<@>jIaEhubKdX&-ur*=4`<#S33Vk$ituO-=|*@36QLE5P6wo00O^Lm z7H|#S-SRDhPz!MDVnd(u3-sgS5{~L(?bs?~UxNIOR=){#YS@HqZZXhI!tH?c*Rg{@r z|8x+U9nd3?v`KN^_^A)df+R^+n=HLp$>;ih4;b)wemFlB{;Tj` zh5su2SK+@3|BWnIQNnL?iom+5BWSl#^P*W$>1#X-*e-QwD>wvOpbEh&uVH2Z*-Z-g z1OMd#tME*jwz98<40^OY1xVV!vp}R}bHX(%;HvodqDxoN_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08Kmb~KX$4qpZ?%YDXxGY5E6`$lTS59( zcCGxh0xh-|3REjEtw4+Ig#xp(cP-*y7{AzFD6not@vZEI0xOPRXdhpczLmXDfJM { const devMode = options.mode !== 'production'; + const PATHS = { + src: path.join(__dirname, '../') + } + return { optimization: { minimizer: [ @@ -47,7 +51,7 @@ module.exports = (env, options) => { }, plugins: [ new MiniCssExtractPlugin({ filename: '../css/app.css' }), - new CopyWebpackPlugin([{ from: 'static/', to: '../' }]) + new CopyWebpackPlugin([{ from: 'static/', to: '../' }]), ] .concat(devMode ? [new HardSourceWebpackPlugin()] : []) }