You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devDependencies is used to save the package for development purpose. Example: unit tests, minification.
dependencies is used to save the package required for the application to run.
in our gulp-replace/index.js :
constVinyl=require('vinyl')
however, in our gulp-replace/package.json:
{
"devDependencies": {
"vinyl": "^2.2.1"
}
...
}
vinyl shoulud be placed in dependencies rather than devDependencies, otherwise gulp-replace couldn't work.
The text was updated successfully, but these errors were encountered:
devDependencies is used to save the package for development purpose. Example: unit tests, minification.
dependencies is used to save the package required for the application to run.
in our
gulp-replace/index.js
:however, in our
gulp-replace/package.json
:vinyl shoulud be placed in
dependencies
rather thandevDependencies
, otherwise gulp-replace couldn't work.The text was updated successfully, but these errors were encountered: