@@@@@@
This commit is contained in:
9
library/build/banner/index.ts
Normal file
9
library/build/banner/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import banner from 'vite-plugin-banner'
|
||||
|
||||
export const createBanner = () => {
|
||||
return [
|
||||
banner(
|
||||
` build: \u0056\u0075\u0065\u0020\u0053\u0068\u006f\u0070\u0020\u0056\u0069\u0074\u0065 \n copyright: \u0068\u0074\u0074\u0070\u0073\u003a\u002f\u002f\u0076\u0075\u0065\u006a\u0073\u002d\u0063\u006f\u0072\u0065\u002e\u0063\u006e\u002f\u0073\u0068\u006f\u0070\u002d\u0076\u0069\u0074\u0065 \n time: ${process.env.VITE_APP_UPDATE_TIME} \n`
|
||||
),
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user