mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
Compare commits
No commits in common. "c323c1b6c9ea3a1aafd629bf852ff194d71a5d02" and "47e6a81cb204564ca95b81f42339095b3635d8e9" have entirely different histories.
c323c1b6c9
...
47e6a81cb2
2020
package-lock.json
generated
2020
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -69,7 +69,7 @@
|
|||||||
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
||||||
"html-webpack-plugin": "^5.6.0",
|
"html-webpack-plugin": "^5.6.0",
|
||||||
"mini-css-extract-plugin": "^2.7.7",
|
"mini-css-extract-plugin": "^2.7.7",
|
||||||
"css-minimizer-webpack-plugin": "^7.0.0",
|
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
||||||
"postcss": "^8.4.33",
|
"postcss": "^8.4.33",
|
||||||
"postcss-loader": "^8.1.0",
|
"postcss-loader": "^8.1.0",
|
||||||
"prettier": "^3.2.4",
|
"prettier": "^3.2.4",
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const ExtensionReloader = require('webpack-ext-reloader');
|
|||||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||||
const WextManifestWebpackPlugin = require('wext-manifest-webpack-plugin');
|
const WextManifestWebpackPlugin = require('wext-manifest-webpack-plugin');
|
||||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||||
const CSSMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||||
|
|
||||||
const viewsPath = path.join(__dirname, 'views');
|
const viewsPath = path.join(__dirname, 'views');
|
||||||
const sourcePath = path.join(__dirname, 'source');
|
const sourcePath = path.join(__dirname, 'source');
|
||||||
@ -187,12 +187,9 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
extractComments: false,
|
extractComments: false,
|
||||||
}),
|
}),
|
||||||
new CSSMinimizerPlugin({
|
new OptimizeCSSAssetsPlugin({
|
||||||
minimizerOptions: {
|
cssProcessorPluginOptions: {
|
||||||
preset: [
|
preset: ['default', {discardComments: {removeAll: true}}],
|
||||||
"default",
|
|
||||||
{ discardComments: { removeAll: true } },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
new FilemanagerPlugin({
|
new FilemanagerPlugin({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user