build: get rid of unused replacement plugin

This commit is contained in:
Roman Hotsiy 2017-03-01 00:07:04 +02:00
parent 929740ab28
commit 8da0f7ed82
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 1 additions and 3 deletions

View File

View File

@ -110,9 +110,7 @@ module.exports = function (options) {
'AOT': options.AOT 'AOT': options.AOT
}), }),
new StringReplacePlugin(), new StringReplacePlugin()
new webpack.NormalModuleReplacementPlugin(/node_modules\/rxjs\/operator\/.*/, root('build/empty.js')),
new webpack.NormalModuleReplacementPlugin(/node_modules\/rxjs\/testing\//, root('build/empty.js'))
], ],
node: { node: {
global: true, global: true,