Skip to content

Commit

Permalink
Fix error on Firefox
Browse files Browse the repository at this point in the history
The  module did not work on Firefox
  • Loading branch information
thani-sh committed Apr 25, 2016
1 parent d8de48e commit d9bbb3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/server/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 0 additions & 2 deletions src/server/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
],
Expand Down

0 comments on commit d9bbb3e

Please sign in to comment.