diff --git a/src/index.ts b/src/index.ts index 0587c4c..0292f90 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 } };