Update 'src/index.ts'

This commit is contained in:
Troplo 2022-01-30 19:01:50 +11:00
parent 7c72c50820
commit fd91b4afd1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const createPlugin = (): Plugin => {
const val = JSON.stringify(process.env.npm_package_version);
const key2 = 'import.meta.env.BUILD_DATAE';
const val2 = JSON.stringify(process.env.npm_build_date);
const val2 = JSON.stringify(new Date());
return { define: { [key]: val, [key2]: val2 } };
} else {