Skip to content

Commit 34de095

Browse files
Fix zoom slider appearance in dist build
This is a workaround waiting for a proper fix (issue: ben-eb/postcss-merge-rules#18). Fixes #7
1 parent e4ba5ca commit 34de095

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ var config = {
5050
loader: ExtractTextPlugin.extract('style', 'css')
5151
}, {
5252
test: /\.less$/,
53-
loader: ExtractTextPlugin.extract('style', ['css', 'less'])
53+
// The mergeRules transformation breaks our zoom slider thumb.
54+
// https://github.com/ben-eb/postcss-merge-rules/issues/18
55+
loader: ExtractTextPlugin.extract('style', ['css?-mergeRules', 'less'])
5456
}, {
5557
test: /\.(png|jpg)$/,
5658
loader: 'url?limit=8192'

0 commit comments

Comments
 (0)