Skip to content

Commit 19e1a82

Browse files
committed
Fix cssnext example and test options
1 parent 477f12e commit 19e1a82

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ module.exports = {
2121
path: "path/to/output/",
2222
filename: "bundle.js"
2323
},
24-
cssnext : {
25-
features : {
26-
import : {
27-
path : ["src/assets/stylesheets"]
28-
}
24+
cssnext: {
25+
features: {
26+
customProperties: false
27+
},
28+
import: {
29+
path: ["src/assets/stylesheets"]
2930
}
3031
}
3132
}

test/index.js

+6-10
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ tape("cssnext-loader", function(test){
1010
path: "./test/output/",
1111
filename: "bundle.js"
1212
},
13-
cssnext : {
14-
features : {
15-
import : {
16-
path : ["test/fixtures/"]
17-
}
13+
cssnext: {
14+
import: {
15+
path: ["test/fixtures/"]
1816
}
1917
}
2018
}, function(err, stat){
@@ -40,11 +38,9 @@ tape("cssnext-loader source maps", function(test){
4038
},
4139
debug: true,
4240
devtool: 'source-map',
43-
cssnext : {
44-
features : {
45-
import : {
46-
path : ["test/fixtures/"]
47-
}
41+
cssnext: {
42+
import: {
43+
path: ["test/fixtures/"]
4844
}
4945
}
5046
}, function(err, stat){

0 commit comments

Comments
 (0)