Skip to content

Commit

Permalink
Transpile redux-persist
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgzf committed Jul 12, 2020
1 parent 6fb806b commit dc2c419
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/webpack/webpack.config.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ const commonConfig = merge([
},
},
parts.transpileJavascript({
include: parts.PATHS.src,
// We don't want to transpile all deps because that increases build time
// We only transpile offending deps that do not come transpiled
include: [parts.PATHS.src, require.resolve('redux-persist')],
}),
parts.mockNode(),
parts.setFreeVariable('process.env.DISPLAY_COMMIT_HASH', parts.appVersion().commitHash),
Expand Down

0 comments on commit dc2c419

Please sign in to comment.