Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit 7390ad0

Browse files
erictoothSTRML
authored andcommitted
Add transform-inline-environment-variables Babel plugin (react-grid-layout#445)
1 parent 70fe21f commit 7390ad0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.babelrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
"plugins": [
2222
"@babel/plugin-transform-flow-comments",
2323
"@babel/plugin-proposal-class-properties",
24+
"transform-inline-environment-variables"
2425
],
2526
"env": {
2627
"test": {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"babel-eslint": "^10.0.3",
5252
"babel-loader": "^8.0.6",
5353
"babel-plugin-espower": "^3.0.1",
54+
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
5455
"eslint": "^6.2.2",
5556
"eslint-plugin-react": "^7.5.1",
5657
"flow-bin": "^0.69.0",

0 commit comments

Comments
 (0)