diff --git a/CHANGELOG.md b/CHANGELOG.md index e873d9e..83c870b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## v0.1.3 - 2025-04-11 +#### Bug Fixes +- add support for sass extension - (b032ab7) - aleidk + +- - - + +## v0.1.2 - 2025-02-19 +#### Bug Fixes +- change package to scope to prevent resolution issues between registries - (2ca1ee5) - aleidk + +- - - + ## v0.1.1 - 2025-02-19 #### Bug Fixes - add sass as a dependency - (a90901c) - aleidk diff --git a/bunfig.toml b/bunfig.toml index 850dab8..e2b9a35 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,3 +1,3 @@ -[install] +[install.scopes] -registry = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" } +"@alecodes" = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" } 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; - diff --git a/package.json b/package.json index a30b967..0b45ff5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "bun-plugin-sass", - "version": "0.1.1", + "name": "@alecodes/bun-plugin-sass", + "version": "0.1.3", "module": "index.ts", "type": "module", "scripts": {