Skip to content

Commit dc38af2

Browse files
committed
cleanup.
1 parent 57addb7 commit dc38af2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ function WebpackShellPlugin(options) {
4949
WebpackShellPlugin.prototype.apply = function (compiler) {
5050
var options = this.options;
5151

52-
compiler.plugin("compilation", function (compilation) {
52+
compiler.plugin('compilation', function (compilation) {
5353
if (options.verbose) {
5454
console.log('Report compilation:', compilation);
5555
}
5656
if (options.onBuildStart.length) {
57-
console.log("Executing pre-build scripts");
57+
console.log('Executing pre-build scripts');
5858
options.onBuildStart.forEach(function (script) {
5959
exec(script, puts)
6060
});
@@ -64,9 +64,9 @@ WebpackShellPlugin.prototype.apply = function (compiler) {
6464
}
6565
});
6666

67-
compiler.plugin("emit", function (compilation, callback) {
67+
compiler.plugin('emit', function (compilation, callback) {
6868
if (options.onBuildEnd.length) {
69-
console.log("Executing post-build scripts");
69+
console.log('Executing post-build scripts');
7070
options.onBuildEnd.forEach(function (script) {
7171
exec(script, puts)
7272
});

0 commit comments

Comments
 (0)