mirror of
https://github.com/jcreek/BankStatementAnalyser.git
synced 2026-07-12 18:43:49 +00:00
chore(*): Add base project files
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const { merge } = require('webpack-merge');
|
||||
const { InjectManifest } = require('workbox-webpack-plugin');
|
||||
const common = require('./webpack.common');
|
||||
|
||||
common.plugins.push(new InjectManifest({
|
||||
swSrc: './src/serviceWorker.js',
|
||||
swDest: 'service-worker.js',
|
||||
maximumFileSizeToCacheInBytes: 50000000,
|
||||
}));
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'production',
|
||||
devtool: 'source-map',
|
||||
performance: {
|
||||
hints: false,
|
||||
maxEntrypointSize: 512000,
|
||||
maxAssetSize: 512000,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user