From 6be363c7c056360d17d7f5c448b0b0b5bea8b091 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 30 Jun 2023 03:55:18 -0400 Subject: [PATCH] fix: typescript needs to come before rollup --- templates/scripts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/scripts.yaml b/templates/scripts.yaml index 6a4bdc8..f8cd3ad 100644 --- a/templates/scripts.yaml +++ b/templates/scripts.yaml @@ -1,6 +1,6 @@ # replace the `prepare` template from presetter-preset # so that the build procedure will not be triggered upon package installation -build: cross-env NODE_ENV=production run-s clean build:rollup-config build:rollup build:typescript:* +build: cross-env NODE_ENV=production run-s clean build:typescript:* build:rollup-config build:rollup build:rollup-config: tsc -p tsconfig.config.json build:rollup: rollup --config rollup.config.js develop: cross-env NODE_ENV=development run-s "build:rollup -- --watch {@}" --