Skip to content

Commit

Permalink
Rename API
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Mar 4, 2024
1 parent 81c446e commit b019552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async function loadV4(baseDir, pkgDir, entryPoint) {
let tw = await import(pkgPath)

// This is not Tailwind v4
if (!tw.loadDesignSystem) {
if (!tw.__unstable__loadDesignSystem) {
return null
}

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

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

return {
context: {
Expand Down

0 comments on commit b019552

Please sign in to comment.