Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 70db73c

Browse files
committed
refactor(configs): mark files inside @angular/core as using SystemJS style dynamic imports
1 parent 7a125ee commit 70db73c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/webpack.angular.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,13 @@ module.exports = env => {
183183
{ loader: "@ngtools/webpack", options: ngToolsWebpackOptions },
184184
]
185185
},
186+
187+
// Mark files inside `@angular/core` as using SystemJS style dynamic imports.
188+
// Removing this will cause deprecation warnings to appear.
189+
{
190+
test: /[\/\\]@angular[\/\\]core[\/\\].+\.js$/,
191+
parser: { system: true },
192+
},
186193
],
187194
},
188195
plugins: [

0 commit comments

Comments
 (0)