Skip to content

Commit

Permalink
Fix babel ignore configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy committed Oct 5, 2017
1 parent 7f22ebd commit 1da19cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ module.exports = {
'flow',
'react',
],
ignore: ['/node_modules', '/build'],
ignore: ['node_modules', 'build'],
};
3 changes: 2 additions & 1 deletion tools/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ const config = {
chunkFilename: isDebug
? '[name].chunk.js'
: '[name].[chunkhash:8].chunk.js',
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path.resolve(info.absoluteResourcePath),
path.resolve(info.absoluteResourcePath).replace(/\\/g, '/'),
},

resolve: {
Expand Down

0 comments on commit 1da19cb

Please sign in to comment.