mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 22:59:01 +02: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:
committed by
Copybot
parent
7ed9b04c3c
commit
4175d62800
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user