Skip to content

Commit

Permalink
Scheduler: Fixes in build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Vinogradov committed Sep 7, 2023
1 parent e6b5a54 commit e022ca3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions packages/devextreme/build/gulp/generator/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const knownErrors = [
// #endregion
];

const GENERATE_COMPONENTS_OPTIONS = {
excludePathPatterns: ['__internal'],
};

function deleteJQueryComponents(cb) {
del.sync(jQueryComponentsGlob);
cb();
Expand All @@ -66,7 +70,7 @@ function generateJQueryComponents(isWatch) {
)) : gulp.src(SRC);

return pipe
.pipe(generateComponents(generator))
.pipe(generateComponents(generator, GENERATE_COMPONENTS_OPTIONS))
.pipe(plumber(()=>null))
.pipe(gulp.dest('js/renovation/'));
}
Expand All @@ -93,7 +97,7 @@ function generateInfernoComponents(distPath = './', babelConfig = transpileConfi

return gulp.src(SRC, { base: 'js' })
.pipe(gulpIf(dev, cached('generate-inferno-component')))
.pipe(generateComponents(generator))
.pipe(generateComponents(generator, GENERATE_COMPONENTS_OPTIONS))
.pipe(plumber(() => null))
.pipe(tsProject({
error: processErrors(knownErrors, errors),
Expand Down
3 changes: 2 additions & 1 deletion packages/devextreme/js/__internal/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"module": "es6",
"target": "es6",
"baseUrl": "../",
"skipLibCheck": true,
"allowJs": true,
"noEmitOnError": true,
"resolveJsonModule": false,
Expand Down Expand Up @@ -53,5 +54,5 @@
"ts"
]
}
}
},
}

0 comments on commit e022ca3

Please sign in to comment.