diff --git a/example/react-component-tsx/package.json b/example/react-component-tsx/package.json index 23e82969..ea8fb2dd 100644 --- a/example/react-component-tsx/package.json +++ b/example/react-component-tsx/package.json @@ -8,7 +8,7 @@ "scripts": { "doc": "kkt build --app-src ./website", "start": "kkt start --app-src ./website", - "watch": "tsbb watch", + "watch": "tsbb watch & npm run css:watch", "build": "tsbb build && npm run css:build", "css:build": "compile-less -d src -o esm", "css:watch": "compile-less -d src -o esm --watch", diff --git a/example/react-component-tsx/src/react-app-env.d.ts b/example/react-component-tsx/src/react-app-env.d.ts new file mode 100644 index 00000000..6431bc5f --- /dev/null +++ b/example/react-component-tsx/src/react-app-env.d.ts @@ -0,0 +1 @@ +///