Update 'src/index.ts'
This commit is contained in:
parent
fd91b4afd1
commit
a1fcc2ab28
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const createPlugin = (): Plugin => {
|
|||
const key = 'import.meta.env.PACKAGE_VERSION';
|
||||
const val = JSON.stringify(process.env.npm_package_version);
|
||||
|
||||
const key2 = 'import.meta.env.BUILD_DATAE';
|
||||
const key2 = 'import.meta.env.BUILD_DATE';
|
||||
const val2 = JSON.stringify(new Date());
|
||||
|
||||
return { define: { [key]: val, [key2]: val2 } };
|
||||
|
|
Loading…
Reference in a new issue