-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Given the following config:
"css-modules-transform", {
"generateScopedName": "[name]__[local]___[hash:base64:5]",
"extractCss": "./dist/styles.css",
}And the following css:
/* src/components/SpecialButton.css */
.button___3y7di {
background-image: url('./buttonBackground.png');
}I would expect output to contain relative urls, resolved to the output directory:
/* dist/styles.css */
.SpecialButton__button___3y7di {
background-image: url('./components/buttonBackground.png');
}But I get this:
/* dist/styles.css */
.SpecialButton__button___3y7di {
background-image: url('./buttonBackground.png');
}Is there something I'm missing?
Metadata
Metadata
Assignees
Labels
No labels