An open API service indexing awesome lists of open source software.

https://github.com/simbo/webpack-gulp-dummy

Testing webpack within gulp and trying to replace browserify to bundle javascripts.
https://github.com/simbo/webpack-gulp-dummy

Last synced: 9 months ago
JSON representation

Testing webpack within gulp and trying to replace browserify to bundle javascripts.

Awesome Lists containing this project

README

          

webpack-gulp-dummy
==================

> Testing webpack within gulp and trying to replace browserify to bundle javascripts.

--

## Usage

```
# setup
npm i -g gulp && npm i

# use
gulp
```

## Challenges

### Accomplished

* bundle javascripts, support CommonJS require with custom require base path

* use webpack watch instead of gulp watch

* work as async gulp task, correctly emit `done`

* agnostically create multiple entries and outputs by glob

* use entry filename as output filename

* test eslint rules on source javascript

* test eslint rules while watching, output results in console, do not die on errors

* in production env, do not bundle js if eslint throws errors on javascript sources

* in production env, uglify javascripts

* use common gulp/vinyl streaming

### Unsolved

### Untested

* when watching, use live-reload

## License

[MIT © Simon Lepel 2016](http://simbo.mit-license.org/)