11 lines
240 B
JavaScript
11 lines
240 B
JavaScript
|
const { writeFileSync } = require('fs')
|
||
|
const { join } = require('path')
|
||
|
|
||
|
const config = require('./ava.config.cjs')
|
||
|
|
||
|
const code = `
|
||
|
export default ${JSON.stringify(config, null, 2)}
|
||
|
`
|
||
|
|
||
|
writeFileSync(join(__dirname, 'ava.config.js'), code)
|