Skip to content

Commit

Permalink
swcビルドでclient/appが除外されないのを修正 (#2383)
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 authored Jan 7, 2023
1 parent 4064e81 commit 000e156
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@
"decoratorMetadata": true
},
"keepClassNames": true
},
"exclude": [
"^src/client/app/"
]
}
}
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ const swcOptions = JSON.parse(fs.readFileSync('.swcrc', 'utf-8'));
const env = process.env.NODE_ENV || 'development';

gulp.task('build:ts', () =>
gulp.src('src/**/*.ts')
gulp.src([
'src/**/*.ts',
'!./src/client/app/**/*.ts'
])
.pipe(sourcemaps.init())
.pipe(swc(swcOptions))
.pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: '../built' }))
Expand Down

0 comments on commit 000e156

Please sign in to comment.