2022-03-24 12:41:17 +00:00
|
|
|
/* eslint-env node */
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
|
|
const fs = require('fs-extra');
|
|
|
|
let extend = undefined;
|
2022-03-24 12:33:14 +00:00
|
|
|
|
2022-03-24 12:41:17 +00:00
|
|
|
/**
|
|
|
|
* 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-03-24 12:33:14 +00:00
|
|
|
}
|
2022-03-24 12:41:17 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
presets: ['@quasar/babel-preset-app'],
|
|
|
|
extends: extend,
|
|
|
|
};
|