@ngtools/webpack 18.2.1 → 18.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ivy/plugin.js +2 -1
package/package.json
CHANGED
package/src/ivy/plugin.js
CHANGED
@@ -230,7 +230,8 @@ class AngularWebpackPlugin {
|
|
230
230
|
if (!fileEmitters) {
|
231
231
|
fileEmitters = new symbol_1.FileEmitterCollection();
|
232
232
|
compilationFileEmitters.set(compilation, fileEmitters);
|
233
|
-
compilation.compiler.webpack.NormalModule.getCompilationHooks(compilation).loader.tap(PLUGIN_NAME, (
|
233
|
+
compilation.compiler.webpack.NormalModule.getCompilationHooks(compilation).loader.tap(PLUGIN_NAME, (context) => {
|
234
|
+
const loaderContext = context;
|
234
235
|
loaderContext[symbol_1.AngularPluginSymbol] = fileEmitters;
|
235
236
|
});
|
236
237
|
}
|