Skip to content

Commit a3bd552

Browse files
committed
Update dependencies
1 parent a5f8589 commit a3bd552

File tree

3 files changed

+542
-233
lines changed

3 files changed

+542
-233
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@
3535
"webpack": "^3.5.5"
3636
},
3737
"devDependencies": {
38-
"chai": "^3.5.0",
39-
"coveralls": "^2.13.0",
40-
"css-loader": "^0.27.3",
41-
"extract-text-webpack-plugin": "^2.1.0",
42-
"husky": "^0.13.3",
43-
"mocha": "^3.2.0",
44-
"nyc": "^10.2.0",
38+
"chai": "^4.1.1",
39+
"coveralls": "^2.13.1",
40+
"css-loader": "^0.28.4",
41+
"extract-text-webpack-plugin": "^3.0.0",
42+
"husky": "^0.14.3",
43+
"mocha": "^3.5.0",
44+
"nyc": "^11.1.0",
4545
"rimraf": "^2.6.1",
46-
"style-loader": "^0.13.2",
46+
"style-loader": "^0.18.2",
4747
"test-console": "^1.0.0",
48-
"webpack": "^2.3.3"
48+
"webpack": "^3.5.5"
4949
},
5050
"dependencies": {
51-
"chalk": "^1.1.3"
51+
"chalk": "^2.1.0"
5252
},
5353
"nyc": {
5454
"include": [

src/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,9 @@ function OmitJSforCSSPlugin(options) {
3131
*/
3232
OmitJSforCSSPlugin.prototype.omitFiles = function(omitted, compilation) {
3333
if (this.options.preview) {
34-
console.log(
35-
chalk.bold(chalk.red('PREVIEW')) + chalk.grey(' File to be omitted for ') + chalk.bold(chalk.green(omitted.chunkName)) + ' : ' + chalk.bold(chalk.green(omitted.filename))
36-
);
34+
console.log(chalk.bold(chalk.red('PREVIEW')) + chalk.grey(' File to be omitted for ') + chalk.bold(chalk.green(omitted.chunkName)) + ' : ' + chalk.bold(chalk.green(omitted.filename)));
3735
} else {
38-
this.options.verbose &&
39-
console.log(chalk.grey('File Omitted for ') + chalk.bold(chalk.green(omitted.chunkName)) + chalk.grey(' : ') + chalk.bold(chalk.green(omitted.filename)));
36+
this.options.verbose && console.log(chalk.grey('File Omitted for ') + chalk.bold(chalk.green(omitted.chunkName)) + chalk.grey(' : ') + chalk.bold(chalk.green(omitted.filename)));
4037
delete compilation.assets[omitted.filename];
4138
}
4239
};

0 commit comments

Comments
 (0)