Skip to content

Commit

Permalink
Get rid of .babelrc and add configuration directly to Webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto committed Aug 19, 2018
1 parent 9166788 commit 7586dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
11 changes: 0 additions & 11 deletions packages/simplebar/demo/.babelrc

This file was deleted.

7 changes: 5 additions & 2 deletions packages/simplebar/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ module.exports = {
use: {
loader: 'babel-loader',
options: {
cwd: __dirname
}
presets: [
["@babel/preset-env", { "modules": false }],
"@babel/preset-react"
]
},
}
},
{
Expand Down

0 comments on commit 7586dbd

Please sign in to comment.