We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711016a commit 9ece083Copy full SHA for 9ece083
packages/@tailwindcss-upgrade/src/migrate.ts
@@ -88,9 +88,9 @@ export async function analyze(stylesheets: Stylesheet[]) {
88
// Resolve the import to a file path
89
let resolvedPath: string | false = false
90
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.
+ // We first try to resolve the file as relative to the current file
+ // to mimic the behavior of `postcss-import` since that's what was
+ // used to resolve imports in Tailwind CSS v3.
94
if (id[0] !== '.') {
95
96
resolvedPath = resolveCssId(`./${id}`, basePath)
0 commit comments