Skip to content

Commit 0083ff6

Browse files
committed
fix: pass along options to resolve
1 parent a4178fb commit 0083ff6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/addon-dev/src/rollup-hbs-plugin.ts

+3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ export default function rollupHbsPlugin({
2424
}
2525

2626
let resolution = await this.resolve(source, importer, {
27+
...options,
2728
skipSelf: true,
2829
});
2930

3031
if (!resolution && extname(source) === '') {
3132
resolution = await this.resolve(source + '.hbs', importer, {
33+
...options,
3234
skipSelf: true,
3335
});
3436
}
@@ -37,6 +39,7 @@ export default function rollupHbsPlugin({
3739
let hbsSource = syntheticJStoHBS(source);
3840
if (hbsSource) {
3941
resolution = await this.resolve(hbsSource, importer, {
42+
...options,
4043
skipSelf: true,
4144
custom: {
4245
embroider: {

0 commit comments

Comments
 (0)