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'));
});
-
Notifications
You must be signed in to change notification settings - Fork 0
License
searchfe/gulp-parser-apm
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