-
Notifications
You must be signed in to change notification settings - Fork 142
/
gulpfile.mjs
35 lines (31 loc) · 1.57 KB
/
gulpfile.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import gulp from 'gulp'
import pipelineHelper from './helpers/pipeline.mjs'
import { babel as babelTask } from './tasks/babel.mjs'
import { browserSync as browserSyncTask } from './tasks/browser-sync.mjs'
import { clean as cleanTask } from './tasks/clean.mjs'
import { csslint as cssLintTask } from './tasks/css-lint.mjs'
import { emailFix as emailFixTask } from './tasks/email-fix.mjs'
import { eslint as eslintTask } from './tasks/eslint.mjs'
import { inheritance as inheritanceTask } from './tasks/inheritance.mjs'
import { sasslint as sassLintTask } from './tasks/sass-lint.mjs'
import { setup as setupTask } from './tasks/setup.mjs'
import { styles as stylesTask } from './tasks/styles.mjs'
import { svg as svgTask } from './tasks/svg.mjs'
import { watch as watchTask } from './tasks/watch.mjs'
import magepackBundleTask from './tasks/magepack-bundle.mjs'
import magepackGenerateTask from './tasks/magepack-generate.mjs'
export const babel = gulp.series(inheritanceTask, babelTask)
export const clean = cleanTask
export const csslint = cssLintTask
export const dev = gulp.series(browserSyncTask, watchTask)
export const emailfix = emailFixTask
export const eslint = eslintTask
export const inheritance = inheritanceTask
export const sasslint = sassLintTask
export const setup = setupTask
export const styles = gulp.series(inheritanceTask, stylesTask)
export const svg = gulp.series(inheritanceTask, svgTask)
export const watch = watchTask
export const magepackBundle = magepackBundleTask
export const magepackGenerate = magepackGenerateTask
export { default as default } from './tasks/default.mjs'