azu / azu/gulp-remove-use-strict
remove use strict does not work
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
const gulp = require('gulp')
const del = require('del')
const removeUseStrict = require('gulp-remove-use-strict')
gulp.task('remove-strict', ['remove-strict:clean'], function () {
return gulp.src('./dist/static/js/*.js')
.pipe(removeUseStrict())
.pipe(gulp.dest('./dist/newJS/'))
})
gulp.task('remove-strict:clean', [], function () {
return del(['./dist/newJS/'], { force: true })
})
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Gulp task against the files matched by ./dist/static/js/*.js and compare the results written to ./dist/newJS/. Inspect the removeUseStrict() step and verify whether the generated JavaScript still contains strict-mode directives; done means the task reliably removes them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100