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 39a8516 commit 20d8aa8Copy full SHA for 20d8aa8
libs/remix-url-resolver/src/resolve.ts
@@ -140,8 +140,8 @@ export class RemixURLResolver {
140
async handleNpmImport(url: string): Promise<HandlerResponse> {
141
if (!url) throw new Error('url is empty')
142
let fetchUrl = url
143
- const isVersionned = semverRegex().exec(url.replace(/@/g, '@ ').replace(/\//g, ' /'))
144
- if (this.getDependencies && !isVersionned) {
+ const isVersioned = semverRegex().exec(url.replace(/@/g, '@ ').replace(/\//g, ' /'))
+ if (this.getDependencies && !isVersioned) {
145
try {
146
const { deps, yarnLock, packageLock } = await this.getDependencies()
147
let matchLength = 0
0 commit comments