@ngtools/webpack
Advanced tools
Comparing version 1.1.8 to 1.1.9
{ | ||
"name": "@ngtools/webpack", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Webpack plugin that AoT compiles your Angular components and modules.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -284,2 +284,2 @@ "use strict"; | ||
exports.WebpackCompilerHost = WebpackCompilerHost; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/compiler_host.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/compiler_host.js.map |
@@ -136,2 +136,2 @@ "use strict"; | ||
exports.resolveEntryModuleFromMain = resolveEntryModuleFromMain; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/entry_resolver.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/entry_resolver.js.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
exports.PathsPlugin = paths_plugin_1.PathsPlugin; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/index.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/index.js.map |
@@ -180,2 +180,2 @@ "use strict"; | ||
exports.ngcLoader = ngcLoader; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/loader.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/loader.js.map |
@@ -122,2 +122,2 @@ "use strict"; | ||
exports.PathsPlugin = PathsPlugin; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/paths-plugin.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/paths-plugin.js.map |
@@ -144,7 +144,2 @@ "use strict"; | ||
compiler.plugin('context-module-factory', function (cmf) { | ||
cmf.resolvers.normal.apply(new paths_plugin_1.PathsPlugin({ | ||
tsConfigPath: _this._tsConfigPath, | ||
compilerOptions: _this._compilerOptions, | ||
compilerHost: _this._compilerHost | ||
})); | ||
cmf.plugin('before-resolve', function (request, callback) { | ||
@@ -188,2 +183,7 @@ if (!request) { | ||
}); | ||
compiler.resolvers.normal.apply(new paths_plugin_1.PathsPlugin({ | ||
tsConfigPath: this._tsConfigPath, | ||
compilerOptions: this._compilerOptions, | ||
compilerHost: this._compilerHost | ||
})); | ||
}; | ||
@@ -398,2 +398,2 @@ AotPlugin.prototype._make = function (compilation, cb) { | ||
exports.AotPlugin = AotPlugin; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/plugin.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/plugin.js.map |
@@ -152,11 +152,10 @@ "use strict"; | ||
TypeScriptFileRefactor.prototype.transpile = function (compilerOptions) { | ||
compilerOptions = Object.assign({}, compilerOptions, { | ||
sourceMap: true, | ||
inlineSources: false, | ||
inlineSourceMap: false, | ||
sourceRoot: '' | ||
}); | ||
var source = this.sourceText; | ||
var result = ts.transpileModule(source, { | ||
compilerOptions: compilerOptions, | ||
compilerOptions: Object.assign({}, compilerOptions, { | ||
sourceMap: true, | ||
inlineSources: false, | ||
inlineSourceMap: false, | ||
sourceRoot: '' | ||
}), | ||
fileName: this._fileName | ||
@@ -196,2 +195,2 @@ }); | ||
exports.TypeScriptFileRefactor = TypeScriptFileRefactor; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/refactor.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/refactor.js.map |
@@ -23,2 +23,2 @@ "use strict"; | ||
exports.patchReflectorHost = patchReflectorHost; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/reflector_host.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/reflector_host.js.map |
@@ -97,2 +97,2 @@ "use strict"; | ||
exports.WebpackResourceLoader = WebpackResourceLoader; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/resource_loader.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/resource_loader.js.map |
@@ -16,2 +16,2 @@ "use strict"; | ||
exports.createResolveDependenciesFromContextMap = createResolveDependenciesFromContextMap; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/utils.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/utils.js.map |
// Declarations for (some) Webpack types. Only what's needed. | ||
"use strict"; | ||
//# sourceMappingURL=/Users/hans/Sources/angular-cli/packages/webpack/src/webpack.js.map | ||
//# sourceMappingURL=/Users/hansl/Sources/angular-cli/packages/webpack/src/webpack.js.map |
Sorry, the diff of this file is not supported yet
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
130029
1697