mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 15:09:43 +00:00
黑暗模式
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = {
|
||||
BUNDLE_ANALYZER: process.env.ANALYZE === 'true' || false, // 是否展示编译依赖内容与大小
|
||||
VERSION: (() => {
|
||||
try {
|
||||
// 优先使用环境变量,否则从package.json中获取版本号
|
||||
// 优先使用环境变量,否则从 package.json 中获取版本号
|
||||
return (
|
||||
process.env.NEXT_PUBLIC_VERSION || require('../package.json').version
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user