Skip to content

Commit 8b08b47

Browse files
committed
remove inline-package-json plugin
1 parent ce4eab2 commit 8b08b47

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ const PRESETS = {
2525
'react-native': ["@babel/preset-typescript", 'module:metro-react-native-babel-preset'],
2626
};
2727
const PLUGINS = {
28-
'browser': [transformRuntime, '@babel/plugin-proposal-class-properties', 'inline-package-json',
28+
'browser': [transformRuntime, '@babel/plugin-proposal-class-properties',
2929
['transform-inline-environment-variables', {'exclude': ['SERVER_RENDERING']}]],
30-
'weapp': [transformRuntime, '@babel/plugin-proposal-class-properties', 'inline-package-json',
30+
'weapp': [transformRuntime, '@babel/plugin-proposal-class-properties',
3131
['transform-inline-environment-variables', {'exclude': ['SERVER_RENDERING']}]],
32-
'node': ['inline-package-json', 'transform-inline-environment-variables'],
33-
'react-native': ['inline-package-json', 'transform-inline-environment-variables']
32+
'node': ['transform-inline-environment-variables'],
33+
'react-native': ['transform-inline-environment-variables']
3434
};
3535

3636
function compileTask(stream) {

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"@semantic-release/release-notes-generator": "14.0.3",
6666
"@types/facebook-js-sdk": "3.3.11",
6767
"babel-jest": "29.5.0",
68-
"babel-plugin-inline-package-json": "2.0.0",
6968
"babel-plugin-minify-dead-code-elimination": "0.5.2",
7069
"babel-plugin-transform-inline-environment-variables": "0.4.4",
7170
"codecov": "3.8.3",

0 commit comments

Comments
 (0)