| 110 | }; |
| 111 | |
| 112 | export const getPreprocessor = async preprocessor => { |
| 113 | if (preprocessor) { |
| 114 | const { default: defaultFunc } = await import(pathToFileURL(preprocessor)); |
| 115 | return defaultFunc; |
| 116 | } |
| 117 | |
| 118 | return _.identity; |
| 119 | }; |
| 120 | |
| 121 | export const getPuppeteerLaunchConfig = () => { |
| 122 | const { puppeteerLaunchArgs, puppeteerChromiumExecutable } = mergedConfig; |