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')) {
|
2022-03-24 13:57:11 +00:00
|
|
|
extend = './.babelrc';
|
2022-03-24 12:33:14 +00:00
|
|
|
}
|
2022-03-24 12:41:17 +00:00
|
|
|
|
|
|
|
module.exports = {
|
2022-03-24 13:57:11 +00:00
|
|
|
presets: ['@quasar/babel-preset-app'],
|
|
|
|
extends: extend,
|
2022-03-24 12:41:17 +00:00
|
|
|
};
|