@@ -37,7 +37,7 @@ type ForwardFileImportsOptions = {
|
||||
* path `dist/MyComponent/my-image.png`. The import itself will stay, but be resolved,
|
||||
* resulting in something like `import ImageUrl from './MyComponent/my-image.png'`
|
||||
*/
|
||||
export function forwardFileImports(options: ForwardFileImportsOptions): Plugin {
|
||||
export function forwardFileImports(options: ForwardFileImportsOptions) {
|
||||
const filter = createFilter(options.include, options.exclude);
|
||||
|
||||
// We collect the absolute paths to all files we want to bundle into the
|
||||
@@ -131,5 +131,5 @@ export function forwardFileImports(options: ForwardFileImportsOptions): Plugin {
|
||||
|
||||
return { ...inputOptions, external };
|
||||
},
|
||||
};
|
||||
} satisfies Plugin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user