Skip to content

goosy/vite-plugin-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-copy

Vitejs plguin: copy files and folders

This guy is lazy and has not had time to write the document

Installation

# npm
npm install vite-plugin-copy -D

Usage

import copy from 'vite-plugin-copy'

export default {
    input: "index.js",
    output: {
        file: "bundler.js",
        format: 'es',
    },
    plugins: [
        copy([
            { src: './data.js', dest: 'dist/' },
        ]),
    ],
};

About

Vitejs plguin: copy files and folders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published