Skip to content

Commit 9ce8932

Browse files
committed
chore(tailwindcss-utopia-playground): try to fix plugin package resolution
1 parent 923cce2 commit 9ce8932

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

apps/playground/app/_components/editor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ body {
111111
const monacoTailwindcssRef = useRef<MonacoTailwindcss>(null);
112112

113113
const handleChange = async () => {
114-
console.log('a');
115114
if (!monacoTailwindcssRef.current) return;
116-
console.log('b');
117115

118116
const css = await monacoTailwindcssRef.current.generateStylesFromContent(
119117
tabs.css.getValue(),

apps/playground/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"@radix-ui/react-tabs": "^1.1.2",
1414
"class-variance-authority": "^0.7.1",
1515
"clsx": "^2.1.1",
16-
"fluid-tailwind": "^1.0.4",
1716
"lucide-react": "^0.471.1",
1817
"monaco-editor-webpack-plugin": "^7.1.0",
1918
"monaco-tailwindcss": "^0.6.1",
@@ -23,7 +22,7 @@
2322
"react-resizable-panels": "^2.1.7",
2423
"tailwind-merge": "^2.6.0",
2524
"tailwindcss-animate": "^1.0.7",
26-
"tailwindcss-utopia": "workspace:*"
25+
"tailwindcss-utopia": "^0.0.14"
2726
},
2827
"devDependencies": {
2928
"typescript": "^5",

apps/playground/workers/tailwindcss-custom.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import tailwindcssUtopia, { extract } from "tailwindcss-utopia-fixed";
2+
13
import { initialize } from "monaco-tailwindcss/tailwindcss.worker.js";
2-
import tailwindcssUtopia, { extract } from "tailwindcss-utopia";
34

45
initialize({
56
prepareTailwindConfig(tailwindConfig) {

bun.lock

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)