Skip to content

Commit

Permalink
Merge pull request #748 from storyblok/fix/get-static-replacement-pac…
Browse files Browse the repository at this point in the history
…kageversion-back

fix: fix the definition of process.env, but scoped
  • Loading branch information
Thiago Saife authored Jan 12, 2024
2 parents 95a8401 + 8e85f7e commit 3c69c95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vite.build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ const bundles = [
},
emptyOutDir: !firstRunCounter++,
},
define: {
'process.env': {
npm_package_version: process.env.npm_package_version,
},
},
})
}
})()

0 comments on commit 3c69c95

Please sign in to comment.