gulpfile.js
/** Compile mutiple ts files and into one file */
Compile mutiple ts files and into one file
Compile mutiple ts files and into one file
function createContentScript() {
  return src('./src/content-script/*.ts')
    .pipe(plugins.newer('./dist'))
    .pipe(plugins.typescript(tsconfig))
    .pipe(plugins.concat('content-script/content-script.js'))
    .pipe(plugins.if(mode === 'production', plugins.uglify()))
    .pipe(dest('./dist'));
}
function createContentScript ( ) { return src ( './src/content-script/*.ts' ) . pipe ( plugins . newer ( './dist' ) ) . pipe ( plugins . typescript ( tsconfig ) ) . pipe ( plugins . concat ( 'content-script/content-script.js' ) ) . pipe ( plugins . if ( mode === 'production' , plugins . uglify ( ) ) ) . pipe ( dest ( './dist' ) ) ; }
Compile mutiple ts files and into one file
Compile mutiple ts files and into one file