Skip to content

Commit 2160210

Browse files
Caster Zengmrfelton
Caster Zeng
authored andcommitted
feat: support load .ts files
1 parent 1a5c975 commit 2160210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module.exports = (app, options) => {
3535
requireAll({
3636
dirname,
3737
recursive: false,
38+
filter:/^([^\.].*)\.(js|ts|json)?$/,
3839
resolve: code => {
3940
debug('Loading customization script %s', code)
4041
if (typeof code === 'function') {

0 commit comments

Comments
 (0)