Skip to content

Commit aa11542

Browse files
committed
svgr
1 parent 3ceedc7 commit aa11542

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

postinstall.sh

+10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ node node_modules/civil-server/dist/tools/react-directory-indexer.js app/web-com
3232
#
3333
node node_modules/civil-server/dist/tools/react-directory-indexer.js --data app/data-components/ node_modules/civil-server/dist/data-components/
3434

35+
#echo '*************************************************************************'
36+
#echo Svgr - create React components out of the svg files
37+
#echo '*************************************************************************'
38+
npm run svgr || {
39+
echo Could not svgr
40+
exit 1
41+
}
42+
echo "svgr ok"
43+
3544

3645
#echo '*************************************************************************'
3746
#echo TRANSPILE
@@ -43,6 +52,7 @@ npm run transpile || {
4352
}
4453
echo "transpile ok"
4554

55+
4656
#echo '*************************************************************************'
4757
#echo WEBPACK
4858
#echo '*************************************************************************'

0 commit comments

Comments
 (0)