Skip to content

Commit

Permalink
Tell Babel to scope config to the folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto committed Aug 19, 2018
1 parent f9f6e29 commit 9166788
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^4.0.0-beta.7",
"rollup-plugin-babel": "^4.0.0-beta.8",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-license": "^0.6.0",
"rollup-plugin-node-resolve": "^3.2.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/simplebar/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ module.exports = {
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader'
loader: 'babel-loader',
options: {
cwd: __dirname
}
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ babel-core@^6.0.0, babel-core@^6.26.0:
slash "^1.0.0"
source-map "^0.5.7"

babel-core@^7.0.0-rc.1:
babel-core@^7.0.0-bridge.0:
version "7.0.0-bridge.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"

Expand Down Expand Up @@ -8829,7 +8829,7 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0"
inherits "^2.0.1"

rollup-plugin-babel@^4.0.0-beta.7:
rollup-plugin-babel@^4.0.0-beta.8:
version "4.0.0-beta.8"
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.8.tgz#6dac37d8e285ba8f7feb5aaafd99c78d7363a001"
dependencies:
Expand Down

0 comments on commit 9166788

Please sign in to comment.