File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616 "test:coverage" : " jest --coverage && ./cc-test-reporter after-build --id=\" d957b5ff2f78e200b7cfa4e294ac1fe52c823c7d7c327628f897271dc72a874e\" " ,
1717 "deploy" : " npm run build:demo && gh-pages -d build" ,
1818 "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"
2020 },
2121 "main" : " dist/main.js" ,
2222 "files" : [
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const cssLoader = {
3434const defaultCssLoaders = [ cssLoader , postcssLoader ] ;
3535
3636const cssLoaders =
37- target !== 'development'
37+ target !== 'development' && target !== 'demo'
3838 ? ExtractTextPlugin . extract ( {
3939 fallback : styleLoader ,
4040 use : defaultCssLoaders ,
You can’t perform that action at this time.
0 commit comments