-
Notifications
You must be signed in to change notification settings - Fork 29
Description
When chained after css-loader
6.x with options.esModule: true
(the default), and options.modules.namedExport: true
(not the default), typings-for-css-modules-loader
dies on this line, since it does not find exports.locals
in the emitted source:
typings-for-css-modules-loader/src/index.js
Lines 64 to 66 in 846a700
// let's only check `exports.locals` for keys to avoid getting keys from the sourcemap when it's enabled | |
// if we cannot find locals, then the module only contains global styles | |
const indexOfLocals = content.indexOf(".locals"); |
Obi-Dann
Metadata
Metadata
Assignees
Labels
No labels