lincd-cli 0.2.78 → 0.2.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babel.config.js +2 -2
- package/lib/cli-methods.js +1 -0
- package/package.json +1 -1
package/babel.config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
presets: [
|
|
3
3
|
'@babel/preset-env',
|
|
4
|
-
['@babel/preset-react', {
|
|
4
|
+
['@babel/preset-react', {runtime: 'automatic'}],
|
|
5
5
|
'@babel/preset-typescript',
|
|
6
6
|
],
|
|
7
7
|
plugins: [
|
|
8
8
|
'@babel/plugin-transform-runtime',
|
|
9
|
-
['@babel/plugin-proposal-decorators', {
|
|
9
|
+
['@babel/plugin-proposal-decorators', {legacy: true}],
|
|
10
10
|
],
|
|
11
11
|
};
|
package/lib/cli-methods.js
CHANGED
|
@@ -867,6 +867,7 @@ const ensureEnvironmentLoaded = () => __awaiter(void 0, void 0, void 0, function
|
|
|
867
867
|
let envIndex = args.indexOf('--env');
|
|
868
868
|
let env = args[envIndex + 1];
|
|
869
869
|
if (environments.includes(env)) {
|
|
870
|
+
console.log('Environment: ' + env);
|
|
870
871
|
process.env = Object.assign(Object.assign({}, process.env), vars[env]);
|
|
871
872
|
}
|
|
872
873
|
else {
|