Skip to content

Commit b019552

Browse files
committed
Rename API
1 parent 81c446e commit b019552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async function loadV4(baseDir, pkgDir, entryPoint) {
185185
let tw = await import(pkgPath)
186186

187187
// This is not Tailwind v4
188-
if (!tw.loadDesignSystem) {
188+
if (!tw.__unstable__loadDesignSystem) {
189189
return null
190190
}
191191

@@ -199,7 +199,7 @@ async function loadV4(baseDir, pkgDir, entryPoint) {
199199

200200
// Load the design system and set up a compatible context object that is
201201
// usable by the rest of the plugin
202-
let design = tw.loadDesignSystem(result.css)
202+
let design = tw.__unstable__loadDesignSystem(result.css)
203203

204204
return {
205205
context: {

0 commit comments

Comments
 (0)