import path from 'path'; import { SRC_DIR } from 'yoshi-config/build/paths'; export default function({ packageName, cwd, }: { packageName: string; cwd: string; }) { // Lookbehind assertions are supported in node v9.x.x and above. // By putting the regex inside the preprocessor, this isn't going to throw // errors for those that use Node v8.x.x. const scriptRegex = /(?<=\n\n${content}`, }; }, }; }