Fix rollup config for CLI tool
This commit is contained in:
parent
d932431d83
commit
94f6f9af9d
|
@ -38,12 +38,7 @@ export default [{
|
|||
input: 'lib/bin/preserves-schema-ts.js',
|
||||
output: [{
|
||||
file: 'dist/bin/preserves-schema-ts.js',
|
||||
format: 'umd',
|
||||
name: 'PreservesSchemaTS',
|
||||
globals: {
|
||||
'fs': 'fs',
|
||||
'@preserves/core': 'Preserves',
|
||||
},
|
||||
format: 'commonjs',
|
||||
}],
|
||||
external: ['fs', '@preserves/core'],
|
||||
external: ['fs', 'path', 'glob', 'yargs/yargs', '@preserves/core'],
|
||||
}]
|
||||
|
|
Loading…
Reference in New Issue