File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -97,15 +97,22 @@ export async function build(options: Options): Promise<BuildStats> {
9797 plugins : isChunk
9898 ? entry . plugins
9999 : entry . plugins || [
100- dtsPlugin ( { ...entry . dtsPlugin , emitDtsOnly : true } ) ,
100+ dtsPlugin ( {
101+ ...entry . dtsPlugin ,
102+ emitDtsOnly : true ,
103+ banner : entry . banner ,
104+ footer : entry . footer ,
105+ } ) ,
101106 ] ,
102107 onLog : ( level , log , handler ) => {
103108 if ( entry . onLog ) entry . onLog ( level , log , handler , buildLogs )
104109 else buildLogs . push ( { level, log } )
105110 } ,
106111 resolve : entry . resolve ,
107- define : entry . define ,
108- inject : entry . inject ,
112+ transform : {
113+ define : entry . define ,
114+ inject : entry . inject ,
115+ } ,
109116 tsconfig : entry . tsconfig || tsconfig ,
110117 } satisfies InputOptions
111118
You can’t perform that action at this time.
0 commit comments