Closed cristiancedenogallego closed 8 years ago
I fixed this problem setting postcss Plugins to:
"postcssPlugins": {
"postcss-modules-values": {},
"postcss-modules-local-by-default": {},
"postcss-modules-extract-imports": {},
"postcss-modules-scope": {},
"autoprefixer": {}
}
I think documentation is not clearly specifying that modules by default are included but is necessary add this to postcssPlugins
when add autoprefix or another postcss plugin modules not working return undefined on import
index.js
styles.scss
In package.json