build for edge

This commit is contained in:
Alan Hamlett
2023-08-21 08:58:07 +02:00
parent 4c8fee9931
commit 7d4fb6b90f

View File

@@ -4,7 +4,7 @@ import * as webpack from 'webpack';
// eslint-disable-next-line
import CopyPlugin from 'copy-webpack-plugin';
type BrowserTypes = 'chrome' | 'firefox';
type BrowserTypes = 'chrome' | 'firefox' | 'edge';
const publicFolder = join(__dirname, 'public');
const cssFolder = join(publicFolder, 'css');
@@ -75,5 +75,5 @@ export default (
arv: Record<string, string>,
): webpack.Configuration[] => {
const isProd = arv.mode !== 'development';
return [getConfigByBrowser(isProd, 'chrome'), getConfigByBrowser(isProd, 'firefox')];
return [getConfigByBrowser(isProd, 'chrome'), getConfigByBrowser(isProd, 'firefox'), getConfigByBrowser(isProd, 'edge')];
};