Skip to content

Commit

Permalink
add less loader option to reslove error
Browse files Browse the repository at this point in the history
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
  • Loading branch information
Ivocin committed Mar 18, 2019
1 parent f5d09ba commit 3fb70ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion react-boilerplate/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ module.exports = {
},
},
{
loader: 'less-loader' // compiles Less to CSS
loader: 'less-loader', // compiles Less to CSS
options: {
javascriptEnabled: true
}
}
],
}
Expand Down

0 comments on commit 3fb70ba

Please sign in to comment.