ngc-webpack
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "ngc-webpack", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -78,5 +78,5 @@ # Angular Template Compiler Wrapper for Webpack | ||
In addition there are 2 callbacks invoked when the process ends: | ||
- onCompilationSuccess: () => void | ||
- **onCompilationSuccess: () => void** | ||
Fires then the compilation ended with no errors. | ||
- onCompilationError?: (error: Error) => void | ||
- **onCompilationError?: (error: Error) => void** | ||
Fires then the compilation ended with an error. | ||
@@ -83,0 +83,0 @@ |
@@ -27,2 +27,5 @@ "use strict"; | ||
} | ||
if (!this.fileExists(path)) { | ||
throw new Error("Compilation failed. Resource file not found: " + path); | ||
} | ||
return this._loader.get(path); | ||
@@ -29,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
37051
276