mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-14 23:02:27 +03:00
revamp babel config
This commit is contained in:
@@ -1 +1,8 @@
|
||||
module.exports = require('@~local/config/babel');
|
||||
const jestBabel = require('@~local/config/jest-babel');
|
||||
|
||||
module.exports = (api) => {
|
||||
if (api.env('test')) {
|
||||
return jestBabel;
|
||||
}
|
||||
return {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user