Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
remove hard-source-webpack-plugin
Browse files Browse the repository at this point in the history
It is not compatible with webpack 5. mzgoddard/hard-source-webpack-plugin#546
  • Loading branch information
pogopaule committed May 18, 2021
1 parent 012fd28 commit da84007
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
"express": "^4.17.1",
"file-saver": "^2.0.5",
"glob": "^7.1.6",
"hard-source-webpack-plugin": "^0.13.1",
"http-proxy-middleware": "^1.1.2",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.1",
Expand Down
12 changes: 0 additions & 12 deletions quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const { resolve } = require('path')
const fs = require('fs')
const StyleLintPlugin = require('stylelint-webpack-plugin')
const PreloadWebpackPlugin = require('preload-webpack-plugin')
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin

function getHttpsOptions () {
Expand Down Expand Up @@ -161,17 +160,6 @@ module.exports = configure(function (ctx) {
}),
)

if (dev) {
cfg.plugins.push(new HardSourceWebpackPlugin({
configHash: function (webpackConfig) {
return require('node-object-hash')({ sort: false }).hash([
webpackConfig,
appEnv,
])
},
}))
}

if (!dev) {
cfg.plugins.push(new BundleAnalyzerPlugin({
analyzerMode: ctx.mode.cordova ? 'disabled' : 'static',
Expand Down

0 comments on commit da84007

Please sign in to comment.