https://github.com/jstransformers/jstransformer-webpack
Webpack support for JSTransformers
https://github.com/jstransformers/jstransformer-webpack
Last synced: 2 months ago
JSON representation
Webpack support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-webpack
- Owner: jstransformers
- License: mit
- Created: 2015-04-17T17:40:51.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2026-02-15T13:29:30.000Z (4 months ago)
- Last Synced: 2026-02-15T20:16:47.514Z (4 months ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-webpack
- Size: 82 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-webpack
[Webpack](http://webpack.github.io) support for [JSTransformers](https://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-webpack)
[](https://codecov.io/gh/jstransformers/jstransformer-webpack)
[](http://david-dm.org/jstransformers/jstransformer-webpack)
[](https://greenkeeper.io/)
[](https://www.npmjs.org/package/jstransformer-webpack)
## Installation
npm install jstransformer-webpack
## API
```js
var webpack = require('jstransformer')(require('jstransformer-webpack'))
var options = {
output: {
path: 'out',
filename: 'bundle.js'
}
};
webpack.renderFileAsync('entry.js', options, function(err, data) {
// out/bundle.js is now compiled.
data.body
//=> stats from http://webpack.github.io/docs/node.js-api.html
});
```
## License
MIT