Skip to content

Commit

Permalink
Fixing a weird import bug on react-day-picker (mattermost#933)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
(cherry picked from commit 2287931)
  • Loading branch information
jespino authored and sbishel committed Aug 11, 2021
1 parent a9d3bd9 commit 86285d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mattermost-plugin/webapp/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ module.exports = {
'node_modules',
path.resolve(__dirname),
],
alias: {
moment: path.resolve(__dirname, '../../webapp/node_modules/moment/'),
},
extensions: ['*', '.js', '.jsx', '.ts', '.tsx'],
},
module: {
Expand Down

0 comments on commit 86285d2

Please sign in to comment.