You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Seems it's not possible to do code-splitting with create-react-app 5.
My craco.config.js is: module.exports = { plugins: [{ plugin: require('craco-cesium')({ loadPartially: true }) }] };
Craco version: "@craco/craco": "^6.4.3"
When I run craco start, I get an error: $ craco start Failed to compile. Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. configuration.node has an unknown property 'fs'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
Should it work? If no, are there any plans to upgrade this nice plugin to be compatible with CRA5?
The text was updated successfully, but these errors were encountered:
Hello. Seems it's not possible to do code-splitting with create-react-app 5.
My craco.config.js is:
module.exports = { plugins: [{ plugin: require('craco-cesium')({ loadPartially: true }) }] };
Craco version: "@craco/craco": "^6.4.3"
When I run
craco start
, I get an error:$ craco start Failed to compile. Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. configuration.node has an unknown property 'fs'. These properties are valid: object { __dirname?, __filename?, global? } -> Options object for node compatibility features.
Should it work? If no, are there any plans to upgrade this nice plugin to be compatible with CRA5?
The text was updated successfully, but these errors were encountered: