From d9bbb3e36e2fd9a71538cd80e69e04d1e482d5b4 Mon Sep 17 00:00:00 2001 From: Muhammed Thanish Date: Mon, 25 Apr 2016 15:23:35 +0530 Subject: [PATCH] Fix error on Firefox The module did not work on Firefox --- dist/server/webpack.config.js | 4 ++-- src/server/webpack.config.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/server/webpack.config.js b/dist/server/webpack.config.js index 34fccbfd45af..eec25662bbb7 100644 --- a/dist/server/webpack.config.js +++ b/dist/server/webpack.config.js @@ -17,8 +17,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de var config = { devtool: '#cheap-module-eval-source-map', entry: { - admin: ['stack-source-map/register', _path2.default.resolve(__dirname, '../client/init_admin')], - preview: ['stack-source-map/register', 'webpack-hot-middleware/client', _path2.default.resolve(__dirname, '../client/init_preview')] + admin: [_path2.default.resolve(__dirname, '../client/init_admin')], + preview: ['webpack-hot-middleware/client', _path2.default.resolve(__dirname, '../client/init_preview')] }, output: { path: _path2.default.join(__dirname, 'dist'), diff --git a/src/server/webpack.config.js b/src/server/webpack.config.js index ba1fed4ae5fb..d21b805e1182 100644 --- a/src/server/webpack.config.js +++ b/src/server/webpack.config.js @@ -5,11 +5,9 @@ const config = { devtool: '#cheap-module-eval-source-map', entry: { admin: [ - 'stack-source-map/register', path.resolve(__dirname, '../client/init_admin'), ], preview: [ - 'stack-source-map/register', 'webpack-hot-middleware/client', path.resolve(__dirname, '../client/init_preview'), ],