Compare commits

..

No commits in common. "main" and "v0.1.1" have entirely different histories.
main ... v0.1.1

4 changed files with 6 additions and 17 deletions

View file

@ -2,18 +2,6 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. 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 ## v0.1.1 - 2025-02-19
#### Bug Fixes #### Bug Fixes
- add sass as a dependency - (a90901c) - aleidk - add sass as a dependency - (a90901c) - aleidk

View file

@ -1,3 +1,3 @@
[install.scopes] [install]
"@alecodes" = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" } registry = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" }

View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "@alecodes/bun-plugin-sass", "name": "bun-plugin-sass",
"version": "0.1.3", "version": "0.1.1",
"module": "index.ts", "module": "index.ts",
"type": "module", "type": "module",
"scripts": { "scripts": {