Skip to content

Commit 9ece083

Browse files
adamwathanphilipp-spiess
authored andcommitted
Update packages/@tailwindcss-upgrade/src/migrate.ts
1 parent 711016a commit 9ece083

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@tailwindcss-upgrade/src/migrate.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ export async function analyze(stylesheets: Stylesheet[]) {
8888
// Resolve the import to a file path
8989
let resolvedPath: string | false = false
9090
try {
91-
// We first try to resolve the file as relative to the current file,
92-
// this is mimicking the default behavior of postcss-import and thus
93-
// of v3.
91+
// We first try to resolve the file as relative to the current file
92+
// to mimic the behavior of `postcss-import` since that's what was
93+
// used to resolve imports in Tailwind CSS v3.
9494
if (id[0] !== '.') {
9595
try {
9696
resolvedPath = resolveCssId(`./${id}`, basePath)

0 commit comments

Comments
 (0)