0.1.17 • Published 11 months ago

astro-use v0.1.17

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months 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

11 months ago

0.1.16

11 months ago

0.1.15

11 months ago

0.1.14

11 months ago

0.1.13

11 months ago

0.1.12

11 months ago

0.1.11

11 months ago

0.1.10

11 months ago

0.1.9

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago