Create img directory before copying assets
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "babel --extensions \".ts\" src --out-dir dist && cp -r src/download0/img/text src/download0/img/susec src/download0/img/feil dist/download0/img/",
|
"build": "babel --extensions \".ts\" src --out-dir dist && mkdir -p dist/download0/img && cp -r src/download0/img/text src/download0/img/susec src/download0/img/feil dist/download0/img/",
|
||||||
"lint": "eslint . --ext .ts,.js",
|
"lint": "eslint . --ext .ts,.js",
|
||||||
"lint:fix": "eslint . --ext .ts,.js --fix"
|
"lint:fix": "eslint . --ext .ts,.js --fix"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user