diff --git a/index.ts b/index.ts index 5f1812b..980c05e 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,7 @@ const sassPlugin: BunPlugin = { async setup(build: PluginBuilder) { const sass = await import("sass"); - build.onLoad({ filter: /\.scss$/ }, async ({ path }) => { + build.onLoad({ filter: /\.scss|sass$/ }, async ({ path }) => { const result = await sass.compileAsync(path, { importers: [nodeModuleImporter], }); @@ -30,4 +30,3 @@ const sassPlugin: BunPlugin = { }; export default sassPlugin; -