Skip to content

Commit 614469f

Browse files
Merge pull request #8 from lumc-nested/zoom-slider
Fix zoom slider appearance in dist build
2 parents e4ba5ca + 34de095 commit 614469f

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)