We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如现在有examples目录
examples ├── gulpfile.js ├── public └── src ├── main.js └── modules └── oz.js
gulpfile.js
gulp.task('ozma', function(){ return gulp.src('src/main.js') .pipe(ozma({ baseUrl: 'src', disableAutoSuffix: true, loader: 'src/modules/oz.js' })) .pipe(gulp.dest('public')); })
最后在public下会是这个路径
public/src/main.js
vinyl-fs的dest方法里有个saveFile方法,发现传过来的file.relative就是src/main.js。试了下其他的gulp插件,传进来的file.relative都是main.js。
这个有什么好的解决办法吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
比如现在有examples目录
gulpfile.js
最后在public下会是这个路径
vinyl-fs的dest方法里有个saveFile方法,发现传过来的file.relative就是src/main.js。试了下其他的gulp插件,传进来的file.relative都是main.js。
这个有什么好的解决办法吗?
The text was updated successfully, but these errors were encountered: