File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
"test:coverage" : " jest --coverage && ./cc-test-reporter after-build --id=\" d957b5ff2f78e200b7cfa4e294ac1fe52c823c7d7c327628f897271dc72a874e\" " ,
17
17
"deploy" : " npm run build:demo && gh-pages -d build" ,
18
18
"storybook" : " cross-env TARGET=development start-storybook -p ${PORT:-3001} -h 0.0.0.0" ,
19
- "build-storybook" : " cross-env NODE_ENV=production TARGET=demo build-storybook -o build/storybook"
19
+ "build-storybook" : " cross-env NODE_ENV=production build-storybook -o build/storybook"
20
20
},
21
21
"main" : " dist/main.js" ,
22
22
"files" : [
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const cssLoader = {
34
34
const defaultCssLoaders = [ cssLoader , postcssLoader ] ;
35
35
36
36
const cssLoaders =
37
- target !== 'development'
37
+ target !== 'development' && target !== 'demo'
38
38
? ExtractTextPlugin . extract ( {
39
39
fallback : styleLoader ,
40
40
use : defaultCssLoaders ,
You can’t perform that action at this time.
0 commit comments