Closed
Description
Now that typings-for-css-modules-loader
(in this fork) requires most configuration to lie on css-loader
, I'm hitting an issue that namedExport
is not a supported option in css-loader
, see https://github.com/webpack-contrib/css-loader/issues/509. My current setup generates *.d.ts
files in a form of:
export const myClass: string;
export const anotherClass: string;
export const yetAnotherClass: string;
Using this fork, the only thing I can achieve is:
export interface IMyStylesScss {
myClass: string;
anotherClass: string;
yetAnotherClass: string;
}
export const locals: IMyStylesScss;
export default locals;
This is quite a big breaking change from what we had before. Is there any way to make it work with existing setup without major changes to the codebase?
Metadata
Metadata
Assignees
Labels
No labels