File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2525 "style" : " eslint ." ,
2626 "test" : " jest && eslint ."
2727 },
28+ "files" : [
29+ " dist/*.css" ,
30+ " lib/*" ,
31+ " scripts/*.js" ,
32+ " stubs/*.stub.js" ,
33+ " *.css" ,
34+ " *.js"
35+ ],
2836 "devDependencies" : {
2937 "@babel/cli" : " ^7.0.0" ,
3038 "@babel/core" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -14,13 +14,9 @@ function buildDistFile(filename) {
1414 . process ( css , {
1515 from : `./${ filename } .css` ,
1616 to : `./dist/${ filename } .css` ,
17- map : { inline : false } ,
1817 } )
1918 . then ( result => {
2019 fs . writeFileSync ( `./dist/${ filename } .css` , result . css )
21- if ( result . map ) {
22- fs . writeFileSync ( `./dist/${ filename } .css.map` , result . map )
23- }
2420 return result
2521 } )
2622 . then ( result => {
You can’t perform that action at this time.
0 commit comments