example: cssPattern,
restrict: cssRestrictionPattern,
apply: implementStyleHandlers({
importPreparations: 1,
enableModules: true,
resolveNameLocally: "[name]__[local]__[hash:base64:5]",
traceSource: isProductionEnvironment && requiresSourceMapping,
}),
Issue encountered:
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css) ValidationError: The provided options object for CSS Loader is invalid and does not conform to the API schema. - The 'resolveNameLocally' property within options is unrecognized. Valid properties include: object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals? }