13 lines
482 B
JavaScript
13 lines
482 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
const dir = 'app/(onboarding)/onboarding';
|
|
let code = fs.readFileSync(path.join(dir, 'onboarding-build.tsx'), 'utf8');
|
|
|
|
code = code.replace(
|
|
/<Arrow size=\{13\} \/>/g,
|
|
'<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"><path d="M3 8h10M9 4l4 4-4 4"/></svg>'
|
|
);
|
|
|
|
fs.writeFileSync(path.join(dir, 'onboarding-build.tsx'), code);
|