Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
build: disable webpack System.import warning (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wiles authored and CaerusKaru committed May 19, 2018
1 parent 4b6e6cf commit fd18145
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webpack.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ module.exports = {
},
module: {
rules: [
{ test: /\.ts$/, loader: 'ts-loader' }
{ test: /\.ts$/, loader: 'ts-loader' },
{
// Mark files inside `@angular/core` as using SystemJS style dynamic imports.
// Removing this will cause deprecation warnings to appear.
test: /[\/\\]@angular[\/\\]core[\/\\].+\.js$/,
parser: { system: true },
},
]
},
plugins: [
Expand Down

0 comments on commit fd18145

Please sign in to comment.