let gulp = require("gulp");
const {apmParser,amdUrlParser } = require('./dist/index');
const path = require('path');
gulp.task('apm', function () {
return gulp.src(['src/**/*.js']).pipe(apmParser({
projectPath: path.resolve(process.env.PWD),
path2url: (path)=> `__getAmdUri('${path}')`
})).pipe(amdUrlParser()).pipe(gulp.dest('./build'));
});
searchfe/gulp-parser-apm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published