When using the custimze-cra example in the README.md I get the following error:
./node_modules/antd/es/card/style/index.less 5:0
Module parse failed: 'import' and 'export' may only appear at the top level (5:0)
File was processed with these loaders:
* ./node_modules/antd-theme/plugin/loader.js
* ./node_modules/css-loader/dist/cjs.js
* ./node_modules/postcss-loader/src/index.js
* ./node_modules/resolve-url-loader/index.js
* ./node_modules/less-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| (function (module) {
| // Imports
> import ___CSS_LOADER_API_IMPORT___ from "../../../../css-loader/dist/runtime/api.js";
| var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
| // Module
When using the
custimze-cra
example in the README.md I get the following error:overrides-config.js
related package versions: