Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,11 @@ gulp.task('build.copy-sources', ['clean.dist'], function() {

// Note: workaround for https://github.com/angular/angular-cli/issues/4874
gulp.task('build.remove-unusable-variable', function() {
var config = buildConfig.components;
var config = buildConfig.npm;

return gulp.src(path.join(config.outputPath, '**/*.js'))
.pipe(replace(/var.+devextreme\/bundles\/dx\.all.+/g, ''))
.pipe(replace(/import DevExpress from \'devextreme\/bundles\/dx\.all\';/g, ''))
.pipe(gulp.dest(config.outputPath));
return gulp.src(path.join(config.distPath, '**/*.js'))
.pipe(replace(/DevExpress\.[\w\.]+/g, 'Object'))
.pipe(gulp.dest(config.distPath));
});

gulp.task('build.components', ['generate.facades'], function(done) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Developer Express Inc.",
"license": "MIT",
"peerDependencies": {
"devextreme": "~19.2.4",
"devextreme": "~19.2.5",
"@angular/core": ">6.0.0",
"@angular/common": ">6.0.0",
"@angular/forms": ">6.0.0"
Expand All @@ -45,7 +45,7 @@
"del": "^2.2.0",
"devexpress-diagram": "^0.1.43",
"devexpress-gantt": "0.0.8",
"devextreme": "~19.2.4",
"devextreme": "~19.2.5-build-19347-0331",
"dot": "^1.0.3",
"gulp": "^3.9.1",
"gulp-header": "^1.8.8",
Expand All @@ -69,7 +69,7 @@
"karma-webpack": "^2.0.9",
"lite-server": "^2.2.0",
"mkdirp": "^0.5.1",
"ng-packagr": "^5.6.1",
"ng-packagr": "5.5.1",
"plugin-typescript": "^8.0.0",
"puppeteer": "^1.11.0",
"run-sequence": "^1.2.2",
Expand Down