diff --git a/packages/icon/turbo.json b/packages/icon/turbo.json new file mode 100644 index 0000000000..a21cedc7d6 --- /dev/null +++ b/packages/icon/turbo.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "prebuild": { + "dependsOn": ["^prebuild"], + "inputs": ["src/glyphs/*.svg"], + "outputs": ["src/generated/*.tsx"] + } + } +} diff --git a/turbo.json b/turbo.json index 5e5cfac669..e0458f05f1 100644 --- a/turbo.json +++ b/turbo.json @@ -10,7 +10,7 @@ "outputs": ["dist/**", "stories.js"] }, "tsc": { - "dependsOn": ["^tsc"], + "dependsOn": ["^tsc", "prebuild"], "outputs": ["dist/**", "tsconfig.tsbuildinfo"] }, "docs": {