Skip to content

Commit

Permalink
Use const over var in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Aug 31, 2021
1 parent 2b31461 commit 348eab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -83,9 +83,9 @@ To use gulp `watch`, it's required that you explicitly pass webpack in the 2nd a
Please note that gulp `watch` and webpack `watch` are mutually exclusive.

```javascript
var gulp = require('gulp');
var compiler = require('webpack');
var webpack = require('webpack-stream');
const gulp = require('gulp');
const compiler = require('webpack');
const webpack = require('webpack-stream');

gulp.task('build', function() {
return gulp.src('src/entry.js')
Expand Down

0 comments on commit 348eab2

Please sign in to comment.