()
| 197 | } |
| 198 | |
| 199 | function getRollupInputs() { |
| 200 | const buildInputGlob = |
| 201 | process.env.BUILD_INPUT || |
| 202 | (hasTypescript ? 'src/index.{js,ts,tsx}' : 'src/index.js') |
| 203 | const input = glob.sync(toPOSIX(fromRoot(buildInputGlob))) |
| 204 | if (!input.length) { |
| 205 | throw new Error(`Unable to find files with this glob: ${buildInputGlob}`) |
| 206 | } |
| 207 | return input |
| 208 | } |
| 209 | |
| 210 | function getRollupOutput(format = process.env.BUILD_FORMAT) { |
| 211 | const minify = parseEnv('BUILD_MINIFY', false) |
no test coverage detected
searching dependent graphs…