diff --git a/build/empty.js b/build/empty.js
new file mode 100644
index 00000000..e69de29b
diff --git a/build/webpack.common.js b/build/webpack.common.js
index d13e955e..29cd5bee 100644
--- a/build/webpack.common.js
+++ b/build/webpack.common.js
@@ -82,7 +82,7 @@ module.exports = function (options) {
         },
         {
           test: /lib[\\\/].*\.scss$/,
-          loaders: ['raw-loader', "sass-loader"],
+          loaders: ['raw-loader', 'sass-loader'],
           exclude: [/redoc-initial-styles\.scss$/]
         },
         {
@@ -110,7 +110,9 @@ module.exports = function (options) {
         '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: {
       global: true,