ant-design-blazor/gulpfile.js
James Yeung 1659aef02d
chore: sync ant-design v4.20.7 (#2497)
* chore: sync ant-design v4.20.7

* fix style build

* clean the style

* fix dropdown overlay

* remove cdk styles

* fix dropdown overwrite styles

* fix doc styles
2022-06-04 00:44:34 +08:00

17 lines
478 B
JavaScript

const path = require('path');
const projectDir = __dirname;
const tsconfigPath = path.join(projectDir, 'scripts/gulp/tsconfig.json');
if (projectDir.includes(' ')) {
console.error('Error: Cannot run the build tasks if the project is ' +
'located in a directory with spaces in between. Please rename your project directory.');
process.exit(1);
}
// Register TS compilation.
require('ts-node').register({
project: tsconfigPath
});
require('./scripts/gulp/gulpfile');