Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciphertron/bundlify
A simplistic JavaScript bundler
https://github.com/ciphertron/bundlify
bun bundler commonjs javascript module transpiler
Last synced: 1 day ago
JSON representation
A simplistic JavaScript bundler
- Host: GitHub
- URL: https://github.com/ciphertron/bundlify
- Owner: CIPHERTron
- License: cc0-1.0
- Created: 2024-05-14T08:55:15.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-15T04:05:51.000Z (8 months ago)
- Last Synced: 2024-11-10T00:16:17.766Z (about 2 months ago)
- Topics: bun, bundler, commonjs, javascript, module, transpiler
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bundlify - A simplistic JavaScript bundler
`bundlify` is a simplistic JavaScript bundler that given a project with multiple files and external dependencies, will read JavaScript files, resolve and bundle the code into a single output file.## How to use bundlify?
- fork & clone the repo
- run `npm install`
- create a new folder named `target` in the root or replace the contents of the currently present `target` dir
- Add an `index.js` file as well as multiple other JS module files inside **target** dir
- Run `npm run bundlify` in the terminal
- The above command will bundle the JS files inside **target** dir and output them into a `dist/index.js` file
- Now run `node dist/index.js` to execute the bundled output file## Key Features
- Can bundle multiple JS files into a single one
- supports both module and commonjs i.e. you'll be able to use both `import` and `require` keywords and it can successfully able to transpile
- Can detect circular dependency and warns when detected the same## Limitations
- It cannot resolve external dependencies at the moment (that's a WIP)---
*Built with* <3 *by [Pritish](https://pritishsamal.xyz) .aka CIPHERTron*