浏览代码

build: always inline package version when building

Antoine du Hamel 3 年之前
父节点
当前提交
8f489de00e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      babel.config.js

+ 1 - 1
babel.config.js

@@ -17,7 +17,7 @@ module.exports = (api) => {
     ],
     plugins: [
       ['@babel/plugin-transform-react-jsx', { pragma: 'h' }],
-      process.env.IS_RELEASE_BUILD && 'babel-plugin-inline-package-json',
+      'babel-plugin-inline-package-json',
     ].filter(Boolean),
   }
 }