https://github.com/vituum/vite-plugin-concat
⚡🔗 Vite plugin for concatenating files together, handy especially for old projects that used gulp-concat or grunt-concat
https://github.com/vituum/vite-plugin-concat
Last synced: 6 months ago
JSON representation
⚡🔗 Vite plugin for concatenating files together, handy especially for old projects that used gulp-concat or grunt-concat
- Host: GitHub
- URL: https://github.com/vituum/vite-plugin-concat
- Owner: vituum
- License: mit
- Created: 2023-06-28T08:36:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T19:39:02.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T01:43:06.174Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡️🔗 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.
```js
import concat from '@vituum/vite-plugin-concat'export default {
plugins: [
concat({
input: ['main.js']
})
]
}
```* Read the [docs](https://vituum.dev/plugins/concat.html) to learn more about the plugin options.
### Requirements
- [Node.js LTS (16.x)](https://nodejs.org/en/download/)
- [Vite](https://vitejs.dev/)