0
Ich erstelle eine App mit Reagieren und Material UI. Autoprefixer ist in der package.json
und in webpack konfiguriert wie folgt:Werden Inline-Stile autoprefixiert?
postcss: function() {
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
]
}),
];
},
es sagt auch dies:
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader turns CSS into JS modules that inject <style> tags.
// In production, we use a plugin to extract that CSS to a file, but
// in development "style" loader enables hot editing of CSS.
{
test: /\.css$/,
loader: 'style!css?importLoaders=1!postcss'
},
Ich bin mit Inline-Styles (ich weiß), werden sie automatisch vorangestellt?
Kann ich sie konfigurieren? Zum Beispiel mit Radium.