Skip to content

Commit 3db6fb6

Browse files
committed
[TASK] Remove MediaQueryPlugin
1 parent 51c8863 commit 3db6fb6

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Resources/Build/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"file-loader": "^3.0.1",
1818
"friendly-errors-webpack-plugin": "^1.7.0",
1919
"image-webpack-loader": "^4.6.0",
20-
"media-query-plugin": "^1.3.1",
2120
"mini-css-extract-plugin": "^0.6.0",
2221
"node-sass": "^4.12.0",
2322
"postcss-loader": "^3.0.0",

Resources/Build/webpack.common.js

-11
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const WebpackBar = require('webpackbar');
77
const CopyPlugin = require('copy-webpack-plugin');
88
const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin');
99
const ImageminPlugin = require('imagemin-webpack-plugin').default;
10-
const MediaQueryPlugin = require('media-query-plugin');
11-
1210

1311
module.exports = {
1412
stats: 'none',
@@ -50,7 +48,6 @@ module.exports = {
5048
sourceMap: true
5149
}
5250
},
53-
MediaQueryPlugin.loader,
5451
{
5552
loader: 'resolve-url-loader',
5653
options: {
@@ -128,14 +125,6 @@ module.exports = {
128125
new FriendlyErrorsWebpackPlugin(),
129126
new MiniCssExtractPlugin({
130127
}),
131-
new MediaQueryPlugin({
132-
include: [
133-
'index.js'
134-
],
135-
queries: {
136-
'(min-width: 576px)': 'mobile'
137-
}
138-
}),
139128
new UglifyJsPlugin({
140129
extractComments: true
141130
}),

0 commit comments

Comments
 (0)