Docker: update image and optimize for layer caching

This commit is contained in:
realaravinth
2021-11-30 20:57:32 +05:30
parent eedec7da34
commit 1883ef1c1c
4 changed files with 21 additions and 6 deletions

View File

@@ -5,9 +5,9 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
//const WasmPackPlugin = require('@wasm-tool/wasm-pack-plugin');
module.exports = {
devtool: 'inline-source-map',
mode: 'development',
//mode: 'production',
//devtool: 'inline-source-map',
//mode: 'development',
mode: 'production',
entry: {
bundle: './templates/index.ts',
mobile: './templates/mobile.ts',