0.0.8 • Published 10 months ago

vite-macros v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

vite-macros

npm version npm downloads bundle Codecov License JSDocs

This is my package description.

Usage

Install package:

# npm
npm install vite-macros

# yarn
yarn add vite-macros

# pnpm
pnpm install vite-macros

Import:

import { defineConfig } from 'vite'
import ViteMacros from "vite-macros";

export default defineConfig({
    plugins: [
        ViteMacros()
    ],
})

Typescript:

// tsconfig.json
{
    "compilerOptions": {
        "types": ["vite-macros/types"]
    }
}

Usage:

const data = include_str!('data.json');

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago