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 2a7647f commit 6abf913Copy full SHA for 6abf913
index.js
@@ -54,7 +54,7 @@ module.exports = function (options = {}) {
54
/**
55
* Resolve an import's full filepath.
56
*/
57
- async resolveId(importee, importer) {
+ async resolveId(importee, importer, options) {
58
if (cache_emit.has(importee)) return importee;
59
if (
60
!importer ||
@@ -95,7 +95,7 @@ module.exports = function (options = {}) {
95
return path.resolve(dir, pkg.svelte);
96
}
97
98
- const resolved = await this.resolve(importee, importer, { skipSelf: true });
+ const resolved = await this.resolve(importee, importer, { skipSelf: true, ...options });
99
100
// if we can't resolve this import without the `svelte` condition, warn the user
101
if (!resolved) {
0 commit comments