Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix module resolution when path has a `#` (fixes #331)
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 2 additions(+), 1 deletions(-)
M src/util/resolveFrom.ts -> src/util/resolveFrom.ts
diff --git a/src/util/resolveFrom.ts b/src/util/resolveFrom.ts
index af6aeb0325f1b008a03fe9ca17c2e517831e5bd7..fa6ef205c5e983b8c9085d6e8d9903d9b218d0e7 100644
--- a/src/util/resolveFrom.ts
+++ b/src/util/resolveFrom.ts
@@ -22,5 +22,6 @@
 export default function resolveFrom(from?: string, id?: string): string {
   let result = resolver.resolveSync({}, from, id)
   if (result === false) throw Error()
-  return result
+  // https://github.com/webpack/enhanced-resolve/issues/282
+  return result.replace(/\0#/g, '#')
 }