19 lines
430 B
JavaScript
19 lines
430 B
JavaScript
/* 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';
|
|
}
|
|
|
|
module.exports = {
|
|
presets: ['@quasar/babel-preset-app'],
|
|
extends: extend,
|
|
};
|