A preset configuration for craco.
After installing @sfusurge/craco-config as a developer dependency, create craco.config.js with the following contents:
const surge = require('@sfusurge/craco-config');
module.exports = surge({
// Your custom config here.
// It will be applied after the Surge config.
});-
sass-resources-loader To use
sass-resources-loader, add asassResourcesarray to yourpackage.jsonfile:{ ... "sassResources": [ "./src/mixins.scss" ] ... }