本文整理匯總了TypeScript中gulp-symdest.default函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript default函數的具體用法?TypeScript default怎麽用?TypeScript default使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了default函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1:
export = () => {
let src = [
'dist/dev/**/*'
];
return gulp.src(src, { base: 'dist/dev' })
.pipe(electron({ version: '0.37.2', platform: 'darwin', darwinIcon: 'src/client/assets/logo.icns' }))
.pipe(symdest('desktop/mac'));
};
示例2:
export = () => {
let src = [
'dist/dev/**/*'
];
return gulp.src(src, { base: 'dist/dev' })
.pipe(electron({ version: '0.37.2', platform: 'linux' }))
.pipe(symdest('desktop/linux'));
};
示例3:
export = () => {
let src = [
'dist/dev/**/*'
];
return gulp.src(src, { base: 'dist/dev' })
.pipe(electron({ version: '0.37.2', platform: 'win32', winIcon: 'src/assets/logo.ico' }))
.pipe(symdest('desktop/windows'));
};
示例4:
export = () => {
let src = [
Config.APP_DEST + '/**/*'
];
return gulp.src(src, { base: Config.APP_DEST })
.pipe(electron({ version: '1.4.0', platform: 'linux' }))
.pipe(symdest(join(Config.APP_DEST)));
//.pipe(symdest(join('desktop/linux', Config.ENV)));
};