Skip to content

Commit

Permalink
build for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Aug 21, 2023
1 parent 4c8fee9 commit 7d4fb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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')];
};

0 comments on commit 7d4fb6b

Please sign in to comment.