Skip to content

Commit 1127deb

Browse files
authored
chore: update playground (#25)
Use `workspace:*` to avoid build error.
1 parent f138eb1 commit 1127deb

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

playground/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "playground",
33
"private": true,
44
"version": "0.0.0",
5+
"devDependencies": {
6+
"rsbuild-plugin-tailwindcss": "workspace:*"
7+
},
58
"scripts": {
69
"dev": "npx rsbuild dev",
710
"build": "npx rsbuild build"

playground/rsbuild.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from '@rsbuild/core';
2-
import { pluginTailwindCSS } from '../src';
2+
import { pluginTailwindCSS } from 'rsbuild-plugin-tailwindcss';
33

44
export default defineConfig({
55
plugins: [pluginTailwindCSS()],

pnpm-lock.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)