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.
- Host: GitHub
- URL: https://github.com/simbo/webpack-gulp-dummy
- Owner: simbo
- License: mit
- Created: 2016-01-17T11:11:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-17T22:46:52.000Z (over 10 years ago)
- Last Synced: 2025-03-14T15:29:26.618Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)