0
我正在創建一個具有反應和材質UI的應用程序。 Autoprefixer是在package.json
和配置的WebPack像這樣:內聯樣式是否會自動添加?
postcss: function() {
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9', // React doesn't support IE8 anyway
]
}),
];
},
也這樣說:
// "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'
},
我使用內嵌樣式(我知道),他們在汽車前綴?
我可以配置它們嗎?以鐳爲例。