diff --git a/craco.config.js b/craco.config.js index b7a5354..489e72c 100644 --- a/craco.config.js +++ b/craco.config.js @@ -1,6 +1,7 @@ /* eslint-disable no-undef */ /* eslint-disable @typescript-eslint/no-var-requires */ const CracoLessPlugin = require('craco-less'); +const CracoEsbuildPlugin = require('craco-esbuild'); const colors = require('./src/client/UIKit/colors'); const dotenv = require('dotenv'); @@ -19,5 +20,6 @@ module.exports = { }, }, }, + { plugin: CracoEsbuildPlugin }, ], }; diff --git a/package.json b/package.json index c4b8d2e..d1d1393 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "@testing-library/user-event": "^7.1.2", "antd": "^4.15.0", "axios": "^0.21.1", + "craco-esbuild": "^0.3.1", "craco-less": "^1.17.1", "graphql": "^15.5.0", "js-cookie": "^2.2.1",