0.1.17 • Published 2 years ago

astro-use v0.1.17

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

astro-use

This npm plugin will create _index.scss for Astro glob.
For example, if you want to @use the files _hoge01.scss and _hoge02.scss, this plugin will generate _index.scss

Installation

npm install astro-use

You need to install chokidar.

Usage

Specify the target folder you want to @use in Astro.config.mjs

The following is a sample of the folder to be used "/src/scss/hoge" and ". /src/scss/fuga" as the target folder Specify in an array

//astro.config.mjs

import { defineConfig } from "astro/config"; import { astroUse } from "astro-use";

export default defineConfig({ ...

plugins: [ astroUse( "./src/scss/hoge", "./src/scss/fuga" ), ], });

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago