-
-
Notifications
You must be signed in to change notification settings - Fork 608
Closed
Description
bug
What is the current behavior?
:export {
._x { color: red }
}transformed to object
exports.locals = {
"x": "src⁄x___x"
};If the current behavior is a bug, please provide the steps to reproduce.
just use [css-loader, postcss-loader] with this postcss.config.js:
const plugins = [
require('postcss-modules-local-by-default'),
require('postcss-modules-scope')(),
];
exports.plugins = plugins;
What is the expected behavior?
should be
exports.locals = {
"_x": "src⁄x___x"
};Please mention other relevant information such as your webpack version, Node.js version and Operating System.
node@7 webpack@2 [email protected]