Describe the bug
When TutorialKit is started in development or build mode, Vite's CJS build entrypoint error is shown:
$ pnpm dev
...
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
Steps to reproduce
$ pnpm create tutorial
$ pnpm dev
...
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
$ code uno.config.ts
- import { unoCSSConfig } from '@tutorialkit/astro';
export default defineConfig({
- ...unoCSSConfig,
Expected behavior
No warning should be shown
Platform
- TutorialKit version: 0.1.4