Web ext integration for dev mode(#116)
* add web-ext dep * create xrun tasks to wrap running extension targets * add wait-on dep to delay launch of task when ready * add legacy wait files for web-ext scripts * create a dev task for next builds * add dev:legacy task to allow for a quick dev mode * reuse watch task to have dev env
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||
import { join } from 'path';
|
||||
import * as webpack from 'webpack';
|
||||
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
||||
import CopyPlugin from 'copy-webpack-plugin';
|
||||
|
||||
type BrowserTypes = 'chrome' | 'firefox';
|
||||
@@ -40,7 +39,6 @@ const getConfigByBrowser = (isProd: boolean, browser: BrowserTypes): webpack.Con
|
||||
path: join(__dirname, 'dist', browser),
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{ from: cssFolder, to: 'public/css' },
|
||||
|
||||
Reference in New Issue
Block a user