Skip to content

Commit

Permalink
Undo js/ts file exclude regex hack now that WebPack 2 is in place.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Ferguson committed May 20, 2017
1 parent a242b77 commit 7b9dc8e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,8 @@ module.exports = {
{
exclude: [
/\.html$/,
// We have to write /\.(js|jsx)(\?.*)?$/ rather than just /\.(js|jsx)$/
// because you might change the hot reloading server from the custom one
// to Webpack's built-in webpack-dev-server/client?/, which would not
// get properly excluded by /\.(js|jsx)$/ because of the query string.
// Webpack 2 fixes this, but for now we include this hack.
// https://github.com/facebookincubator/create-react-app/issues/1713
/\.(js|jsx)(\?.*)?$/,
/\.(ts|tsx)(\?.*)?$/,
/\.(js|jsx)$/,
/\.(ts|tsx)$/,
/\.css$/,
/\.json$/,
/\.svg$/
Expand Down

0 comments on commit 7b9dc8e

Please sign in to comment.