Skip to content

Commit 43543b7

Browse files
committed
Update dependencies
1 parent 8558593 commit 43543b7

File tree

2 files changed

+424
-499
lines changed

2 files changed

+424
-499
lines changed

src/index.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,11 @@ module.exports = function(source, inputSourceMap) {
114114
const fileSystem = this.fs ? this.fs : fs;
115115
let babelrcPath = null;
116116
if (loaderOptions.babelrc !== false) {
117-
babelrcPath = typeof loaderOptions.babelrc === "string" &&
117+
babelrcPath =
118+
typeof loaderOptions.babelrc === "string" &&
118119
exists(fileSystem, loaderOptions.babelrc)
119-
? loaderOptions.babelrc
120-
: resolveRc(fileSystem, path.dirname(filename));
120+
? loaderOptions.babelrc
121+
: resolveRc(fileSystem, path.dirname(filename));
121122
}
122123

123124
if (babelrcPath) {
@@ -135,9 +136,9 @@ module.exports = function(source, inputSourceMap) {
135136
babelrc: babelrcPath ? read(fileSystem, babelrcPath) : null,
136137
env:
137138
loaderOptions.forceEnv ||
138-
process.env.BABEL_ENV ||
139-
process.env.NODE_ENV ||
140-
"development",
139+
process.env.BABEL_ENV ||
140+
process.env.NODE_ENV ||
141+
"development",
141142
}),
142143
};
143144

0 commit comments

Comments
 (0)