Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.02 KB

npm package node compatility

⚡️🔗 ViteConcat

Vite plugin for concatenating files together, handy especially for old projects that used gulp-concat or grunt-concat for concatenating .js files together.

Automatically concatenates all import './paths' together into single file, additionally you can provide glob of files which should be also concated into single file via files option.

import concat from '@vituum/vite-plugin-concat'

export default {
    plugins: [
        concat({
            input: ['main.js']
        })
    ]
}
  • Read the docs to learn more about the plugin options.

Requirements