fix(build): test example directories with unit and e2e tests (#11296)
This commit is contained in:

committed by
Evan Martin

parent
567900e550
commit
ed2ebeb52a
13
gulpfile.js
13
gulpfile.js
@ -142,6 +142,19 @@ gulp.task('serve', () => {
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('serve-examples', () => {
|
||||
let connect = require('gulp-connect');
|
||||
let cors = require('cors');
|
||||
|
||||
connect.server({
|
||||
root: `${__dirname}/dist/examples`,
|
||||
port: 8001,
|
||||
livereload: false,
|
||||
open: false,
|
||||
middleware: (connect, opt) => [cors()]
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
gulp.task('changelog', () => {
|
||||
const conventionalChangelog = require('gulp-conventional-changelog');
|
||||
|
Reference in New Issue
Block a user