parent
96dfac3862
commit
f2a11ba1de
2 changed files with 15 additions and 10 deletions
15
package.json
15
package.json
|
|
@ -17,10 +17,10 @@
|
||||||
"@babel/preset-env": "^7.5.4",
|
"@babel/preset-env": "^7.5.4",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-eslint": "^10.0.3",
|
"babel-eslint": "^10.0.3",
|
||||||
"babel-loader": "^8.0.0",
|
"babel-loader": "^8.0.6",
|
||||||
"chrome-remote-interface": "^0.28.0",
|
"chrome-remote-interface": "^0.28.0",
|
||||||
"compression-webpack-plugin": "^1.1.11",
|
"compression-webpack-plugin": "^3.0.0",
|
||||||
"copy-webpack-plugin": "^4.5.2",
|
"copy-webpack-plugin": "^5.0.3",
|
||||||
"css-loader": "^3.0.0",
|
"css-loader": "^3.0.0",
|
||||||
"eslint": "^6.3.0",
|
"eslint": "^6.3.0",
|
||||||
"eslint-config-standard": "^14.1.0",
|
"eslint-config-standard": "^14.1.0",
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
"eslint-plugin-import": "^2.18.2",
|
"eslint-plugin-import": "^2.18.2",
|
||||||
"eslint-plugin-node": "^10.0.0",
|
"eslint-plugin-node": "^10.0.0",
|
||||||
"eslint-plugin-promise": "^4.2.1",
|
"eslint-plugin-promise": "^4.2.1",
|
||||||
"eslint-plugin-react": "^7.14.3",
|
"eslint-plugin-react": "^7.16.0",
|
||||||
"eslint-plugin-react-hooks": "^2.1.2",
|
"eslint-plugin-react-hooks": "^2.1.2",
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"eslint-plugin-standard": "^4.0.1",
|
||||||
"htmlparser": "^1.7.7",
|
"htmlparser": "^1.7.7",
|
||||||
|
|
@ -38,12 +38,13 @@
|
||||||
"mini-css-extract-plugin": "^0.9.0",
|
"mini-css-extract-plugin": "^0.9.0",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^4.14.1",
|
||||||
"po2json": "^1.0.0-alpha",
|
"po2json": "^1.0.0-alpha",
|
||||||
"sass-loader": "^7.0.3",
|
"qunit": "^2.9.3",
|
||||||
|
"sass-loader": "^8.0.2",
|
||||||
"sizzle": "^2.3.3",
|
"sizzle": "^2.3.3",
|
||||||
"stdio": "^0.2.7",
|
"stdio": "^0.2.7",
|
||||||
"string-replace-loader": "^2.3.0",
|
"string-replace-loader": "^2.3.0",
|
||||||
"webpack": "^4.17.1",
|
"webpack": "^4.35.3",
|
||||||
"webpack-cli": "^3.1.0"
|
"webpack-cli": "^3.3.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@patternfly/patternfly": "2.71.7",
|
"@patternfly/patternfly": "2.71.7",
|
||||||
|
|
|
||||||
|
|
@ -88,13 +88,13 @@ if (production) {
|
||||||
output.filename = "[name].min.js";
|
output.filename = "[name].min.js";
|
||||||
|
|
||||||
plugins.unshift(new CompressionPlugin({
|
plugins.unshift(new CompressionPlugin({
|
||||||
asset: "[path].gz[query]",
|
|
||||||
test: /\.(js|html)$/,
|
test: /\.(js|html)$/,
|
||||||
minRatio: 0.9,
|
minRatio: 0.9,
|
||||||
deleteOriginalAssets: true
|
deleteOriginalAssets: true
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* keep this in sync with cockpit.git */
|
||||||
var babel_loader = {
|
var babel_loader = {
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
options: {
|
options: {
|
||||||
|
|
@ -165,9 +165,11 @@ module.exports = {
|
||||||
{
|
{
|
||||||
loader: 'sass-loader',
|
loader: 'sass-loader',
|
||||||
options: {
|
options: {
|
||||||
sourceMap: true,
|
sassOptions: {
|
||||||
outputStyle: 'compressed',
|
outputStyle: 'compressed',
|
||||||
},
|
},
|
||||||
|
sourceMap: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -186,9 +188,11 @@ module.exports = {
|
||||||
{
|
{
|
||||||
loader: 'sass-loader',
|
loader: 'sass-loader',
|
||||||
options: {
|
options: {
|
||||||
sourceMap: true,
|
sassOptions: {
|
||||||
outputStyle: 'compressed',
|
outputStyle: 'compressed',
|
||||||
},
|
},
|
||||||
|
sourceMap: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue