Fix up rollup config for CLI compiler

This commit is contained in:
Tony Garnock-Jones 2021-03-11 19:05:54 +01:00
parent 8d7e7c6d95
commit d9726a6878
1 changed files with 9 additions and 1 deletions

View File

@ -40,5 +40,13 @@ export default [{
file: 'dist/bin/preserves-schema-ts.js',
format: 'commonjs',
}],
external: ['fs', 'path', 'glob', 'yargs/yargs', '@preserves/core'],
external: [
'@preserves/core',
'chalk',
'fs',
'glob',
'minimatch',
'path',
'yargs/yargs',
],
}]