chore(saga-icons): use prettier directly to avoid ERR_REQUIRE_ESM error from svgr prettier plugin
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
],
|
||||
"scripts": {
|
||||
"clean": "rimraf ./dist ./compiled ./package.tgz ./src/icons-gen",
|
||||
"generate": "yarn clean && npx @svgr/cli ./svg --silent && mv ./src/icons-gen/index.ts ./src",
|
||||
"generate": "yarn clean && npx @svgr/cli ./svg --silent --no-prettier && mv ./src/icons-gen/index.ts ./src && yarn prettier:write",
|
||||
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
|
||||
"lint": "eslint --ext .ts,.tsx ./src",
|
||||
"prettier:write": "prettier --list-different \"**/*.{js,ts,tsx}\" --write",
|
||||
"prettier:check": "prettier --check --list-different=false --log-level=warn \"**/*.{ts,tsx,scss,md,mdx,json}\"",
|
||||
"build": "yarn generate && rollup -c rollup.config.ts --configPlugin esbuild"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user