Skip to content
Snippets Groups Projects
Commit c59f818a authored by Ray Schamp's avatar Ray Schamp
Browse files

Fix CSS autoprefixing

`importLoaders` is needed for the way postcss works with css modules.

Update browser target to match scratch-www
parent 90c40716
Branches
Tags
No related merge requests found
......@@ -36,6 +36,7 @@ module.exports = {
loader: 'css',
query: {
modules: true,
importLoaders: 1,
localIdentName: '[name]_[local]_[hash:base64:5]',
camelCase: true
}
......@@ -52,7 +53,11 @@ module.exports = {
loader: 'json-loader'
}]
},
postcss: [autoprefixer],
postcss: [
autoprefixer({
browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']
})
],
plugins: [
new webpack.DefinePlugin({
'process.env.BASE_PATH': '"' + (process.env.BASE_PATH || '/') + '"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment