File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ export async function createBundle(options) {
43
43
44
44
const input = get_input_files (
45
45
cwd ,
46
- options . include ?? tsconfig . include ,
47
- options . exclude ?? tsconfig . exclude
46
+ options . include ?? tsconfig . include ?? [ '**' ] ,
47
+ options . exclude ?? tsconfig . exclude ?? [ ]
48
48
) ;
49
49
50
50
const original_cwd = process . cwd ( ) ;
Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ export function clean_jsdoc(node, code) {
80
80
81
81
/**
82
82
* @param {string } cwd
83
- * @param {string[] } [ include]
84
- * @param {string[] } [ exclude]
83
+ * @param {string[] } include
84
+ * @param {string[] } exclude
85
85
* @returns {string[] }
86
86
*/
87
- export function get_input_files ( cwd , include = [ ] , exclude = [ ] ) {
87
+ export function get_input_files ( cwd , include , exclude ) {
88
88
/** @type {Set<string> } */
89
89
const included = new Set ( ) ;
90
90
You can’t perform that action at this time.
0 commit comments