forked from syndicate-lang/preserves
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',
|
input: 'lib/bin/preserves-schema-ts.js',
|
||||||
output: [{
|
output: [{
|
||||||
file: 'dist/bin/preserves-schema-ts.js',
|
file: 'dist/bin/preserves-schema-ts.js',
|
||||||
format: 'umd',
|
format: 'commonjs',
|
||||||
name: 'PreservesSchemaTS',
|
|
||||||
globals: {
|
|
||||||
'fs': 'fs',
|
|
||||||
'@preserves/core': 'Preserves',
|
|
||||||
},
|
|
||||||
}],
|
}],
|
||||||
external: ['fs', '@preserves/core'],
|
external: ['fs', 'path', 'glob', 'yargs/yargs', '@preserves/core'],
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue