Skip to content

Commit

Permalink
fix problem with build keyframe names
Browse files Browse the repository at this point in the history
the problem was in keyframe names. when webpack build css it gave the same names for keyframes in different files. So this change fixes it.
  • Loading branch information
PublicFess authored Aug 23, 2018
1 parent 0daa985 commit 5830f14
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webpack.production-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ function webpackProductionConfigBuilder(options) {
}),
extractMainCSS,
extractIconsCSS,
new OptimizeCssAssetsPlugin(),
new OptimizeCssAssetsPlugin({
cssProcessorOptions: {
reduceIdents: {
keyframes: false
}
}
}),
new CompressionPlugin({
asset: '[file].gz',
algorithm: 'gzip',
Expand Down

0 comments on commit 5830f14

Please sign in to comment.