ngc-webpack
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "ngc-webpack", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A wrapper for the angular compiler-cli with webpack integration", | ||
"author": "Shlomi Assaf <shlomiasaf@gmail.com>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shlomiassaf/ngc-webpack.git" | ||
}, | ||
"main": "index.js", | ||
"typings": "index.d.ts", | ||
"keywords": [ | ||
"angular", | ||
"compiler", | ||
"webpack", | ||
"laoder", | ||
"plugin" | ||
], | ||
"bin": { | ||
@@ -22,3 +35,7 @@ "ngc-w": "./src/main.js" | ||
"webpack": "2.2.0-rc.3" | ||
} | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/shlomiassaf/ngc-webpack/issues" | ||
}, | ||
"homepage": "https://github.com/shlomiassaf/ngc-webpack#readme" | ||
} |
@@ -8,2 +8,3 @@ /// <reference types="node" /> | ||
plugin: NgcWebpackPlugin; | ||
private hasPlugin; | ||
constructor(webpackConfigPath: string); | ||
@@ -10,0 +11,0 @@ init(): void; |
@@ -20,5 +20,6 @@ "use strict"; | ||
.filter(function (p) { return p instanceof plugin_1.NgcWebpackPlugin; })[0]; | ||
this.hasPlugin = !!this.plugin; | ||
}; | ||
WebpackWrapper.prototype.emitOnCompilationSuccess = function () { | ||
if (typeof this.plugin.options.onCompilationSuccess === 'function') { | ||
if (this.hasPlugin && typeof this.plugin.options.onCompilationSuccess === 'function') { | ||
this.plugin.options.onCompilationSuccess.call(this); | ||
@@ -28,3 +29,3 @@ } | ||
WebpackWrapper.prototype.emitOnCompilationError = function (err) { | ||
if (typeof this.plugin.options.onCompilationError === 'function') { | ||
if (this.hasPlugin && typeof this.plugin.options.onCompilationError === 'function') { | ||
this.plugin.options.onCompilationError.call(this, err); | ||
@@ -31,0 +32,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
37836
278
1
0
4