css-modules-typescript-loader icon indicating copy to clipboard operation
css-modules-typescript-loader copied to clipboard

exporting of const=cssExports is redundant

Open quebits opened this issue 6 years ago • 0 comments

I'm issuing to this code: https://github.com/seek-oss/css-modules-typescript-loader/blob/908d49159d1d8153c1da1a01078eb38ba255dcee/index.js#L9

css-loader (and style-loader as well) has no such export. So I think would be better to use something like this instead:

const cssModuleExport = 'const cssExports: CssExports;\nexport default cssExports;\n';

quebits avatar Feb 11 '20 15:02 quebits