2022-03-11 10:25:30 +00:00
|
|
|
/* eslint-env node */
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
|
|
const fs = require('fs-extra');
|
|
|
|
let extend = undefined;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The .babelrc file has been created to assist Jest for transpiling.
|
|
|
|
* You should keep your application's babel rules in this file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (fs.existsSync('./.babelrc')) {
|
|
|
|
extend = './.babelrc';
|
|
|
|
}
|
|
|
|
|
2022-02-24 08:23:59 +00:00
|
|
|
module.exports = {
|
2022-03-11 10:25:30 +00:00
|
|
|
presets: ['@quasar/babel-preset-app'],
|
|
|
|
extends: extend,
|
2022-02-24 08:23:59 +00:00
|
|
|
};
|