mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #10981 from overleaf/ae-chart-js-babel
Add chart.js to babel-loader config GitOrigin-RevId: 86b0f37bb10e3018769473ccdcae032123ba78cb
This commit is contained in:
parent
7ed9b04c3c
commit
4175d62800
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module.exports = {
|
|||
test: /\.[jt]sx?$/,
|
||||
// Only compile application files (npm and vendored dependencies are in
|
||||
// ES5 already)
|
||||
exclude: [/node_modules\/(?!react-dnd\/)/, vendorDir],
|
||||
exclude: [/node_modules\/(?!(react-dnd|chart\.js)\/)/, vendorDir],
|
||||
use: [
|
||||
{
|
||||
loader: 'babel-loader',
|
||||
|
|
Loading…
Reference in a new issue