Skip to content

Commit

Permalink
修正打包后VITE_FILE_PREVIEW没有生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
think-gem committed Nov 14, 2024
1 parent 619b9fd commit 05c31be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function getEnvConfigFiles() {
* @param match prefix
* @param confFiles ext
*/
export async function getEnvConfig(match = 'VITE_GLOB_', confFiles = getEnvConfigFiles()) {
export async function getEnvConfig(match = 'VITE_(GLOB|FILE)_', confFiles = getEnvConfigFiles()) {
let envConfig = {};
for (const item of confFiles) {
try {
Expand Down

0 comments on commit 05c31be

Please sign in to comment.