File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ const parseEnvVariables = (filepath) => {
99 } ,
1010 { } ,
1111 ) ;
12- envVars . PKG_NAME = JSON . stringify ( pkg . name ) ;
13- envVars . PKG_VERSION = JSON . stringify ( pkg . version ) ;
14- envVars . IS_EXCALIDRAW_EXTENSIONS_NPM_PACKAGE = JSON . stringify ( true ) ;
12+ envVars . VITE_PKG_NAME = JSON . stringify ( pkg . name ) ;
13+ envVars . VITE_PKG_VERSION = JSON . stringify ( pkg . version ) ;
14+ envVars . VITE_IS_EXCALIDRAW_EXTENSIONS_NPM_PACKAGE = JSON . stringify ( true ) ;
1515 return envVars ;
1616} ;
1717
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ if (process.env.NODE_ENV !== ENV.TEST) {
1010 }
1111 __webpack_public_path__ =
1212 window . EXCALIDRAW_EXTENSIONS_ASSET_PATH ||
13- `https://unpkg.com/${ process . env . PKG_NAME } @${ process . env . PKG_VERSION } /dist/` ;
13+ `https://unpkg.com/${ process . env . VITE_PKG_NAME } @${ process . env . VITE_PKG_VERSION } /dist/` ;
1414}
You can’t perform that action at this time.
0 commit comments