Skip to content

Commit

Permalink
[server] Fix issue with webpack/moment (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Oct 12, 2017
1 parent 6c79094 commit ea55a97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@sanity/server/src/configs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default (config = {}) => {
resolve: {
alias: {
react: path.dirname(reactPath),
'react-dom': path.dirname(reactDomPath)
'react-dom': path.dirname(reactDomPath),
moment$: 'moment/moment.js',
}
},
module: {
Expand Down

0 comments on commit ea55a97

Please sign in to comment.