0.1.17 • Published 3 years ago

astro-use v0.1.17

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

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago