0.1.14 • Published 6 months ago

@nnecec/preset-vite v0.1.14

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

@nnecec/preset-vite

Features

  • Integrate @vite/plugin-react, support TypeScript.
  • Analyze output assets with process.env.BUILD_ANALYSE=true.
  • src/ alias ~/
  • Dependencies as external when build.lib config setted.

Usage

Install:

$ npm install --save-dev vite @nnecec/preset-vite

Edit vite.config.js:

import preset from '@nnecec/preset-vite'
import { defineConfig } from 'vite'

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

9 months ago

0.1.11

9 months ago

0.1.12

8 months ago

0.1.13

6 months ago

0.1.14

6 months ago

0.1.9

10 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

12 months ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.2.0

1 year ago