rollup-plugin-brfs
Rollup plugin that inliing fs.readFile
contents.
This plugin use browserify/brfs. It supports that
fs.readFileSync(pathExpr, enc=null)
fs.readFile(pathExpr, enc=null, cb)
fs.readdirSync(pathExpr)
fs.readdir(pathExpr, cb)
Install
Install with npm:
npm install rollup-plugin-brfs
Usage
// rollup.config.js; input: 'src/main.js' output: file: 'dist/bundle.js' format: 'iife' plugins: ;
Options
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu