Migrate to plain CSS (remove CSS modules) (#659)
* Migrate to plain CSS (remove CSS modules) Change `prefixer` to a function instead of a proxy * Switch prefix to `nc` * Replace prefixer with literal class names * Remove prefixer * Fix migration errors * fix compose migrations * Remove unnecessary theme imports * Remove old CSS import * fix sticky toolbar positioning * update to cssnano v4 so preset is used * fix css pseudo selectors * update lockfile
This commit is contained in:
committed by
Shawn Erquhart
parent
8a819be61e
commit
7dd8ca13c4
@ -43,7 +43,7 @@ module.exports = {
|
||||
}),
|
||||
},
|
||||
{
|
||||
/* We use CSS-modules and PostCSS for CMS styles */
|
||||
/* We use PostCSS for CMS styles */
|
||||
test: /\.css$/,
|
||||
exclude: [/node_modules/],
|
||||
use: ExtractTextPlugin.extract({
|
||||
@ -52,9 +52,7 @@ module.exports = {
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
modules: true,
|
||||
importLoaders: 1,
|
||||
localIdentName: "cms__[name]__[local]"
|
||||
},
|
||||
},
|
||||
{ loader: 'postcss-loader' },
|
||||
|
Reference in New Issue
Block a user