Browse Source

build: always inline package version when building

Antoine du Hamel 3 năm trước cách đây
mục cha
commit
8f489de00e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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),
   }
 }