File tree Expand file tree Collapse file tree 4 files changed +1543
-2127
lines changed Expand file tree Collapse file tree 4 files changed +1543
-2127
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11const path = require ( 'path' )
22const { CleanWebpackPlugin } = require ( 'clean-webpack-plugin' )
33const { WebpackManifestPlugin } = require ( 'webpack-manifest-plugin' )
4- const BrowserSyncPlugin = require ( 'browser-sync-webpack-plugin' )
54const ESLintPlugin = require ( 'eslint-webpack-plugin' )
65const MiniCssExtractPlugin = require ( 'mini-css-extract-plugin' )
76const StyleLintPlugin = require ( 'stylelint-webpack-plugin' )
@@ -10,7 +9,6 @@ const WebpackBar = require('webpackbar')
109const DependencyExtractionWebpackPlugin = require ( '@wordpress/dependency-extraction-webpack-plugin' )
1110const BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin
1211
13- const browsersyncConfig = require ( './browsersync.config' )
1412const WebpackImageSizesPlugin = require ( './WebpackImageSizesPlugin' )
1513
1614module . exports = {
@@ -56,7 +54,6 @@ module.exports = {
5654 )
5755 } else {
5856 plugins . push (
59- new BrowserSyncPlugin ( browsersyncConfig . browserSyncOptions , browsersyncConfig . pluginOptions ) ,
6057 new MiniCssExtractPlugin ( {
6158 filename : '[name].css' ,
6259 } )
Original file line number Diff line number Diff line change 2626 "@wordpress/dom-ready" : " ^3.17.0" ,
2727 "@wordpress/hooks" : " ^3.17.0" ,
2828 "@wordpress/stylelint-config" : " ^21.0.0" ,
29- "browser-sync" : " ^2.27.10" ,
30- "browser-sync-webpack-plugin" : " ^2.3.0" ,
3129 "clean-webpack-plugin" : " ^4.0.0-alpha.0" ,
3230 "concurrently" : " ^8.2.2" ,
3331 "css-loader" : " ^5.2.4" ,
4341 "imagemin-jpegtran" : " ^7.0.0" ,
4442 "imagemin-optipng" : " ^8.0.0" ,
4543 "imagemin-svgo" : " ^10.0.1" ,
46- "js-yaml" : " ^4.1.0" ,
4744 "mini-css-extract-plugin" : " ^1.5.0" ,
48- "portfinder" : " ^1.0.28" ,
4945 "postcss" : " ^8.4.24" ,
5046 "postcss-import" : " ^15.1.0" ,
5147 "postcss-loader" : " ^7.3.2" ,
You can’t perform that action at this time.
0 commit comments