Resolve rollup build warnings
This commit is contained in:
parent
b76700923d
commit
cc6b197d82
1 changed files with 13 additions and 0 deletions
|
@ -10,6 +10,19 @@ const config = {
|
|||
file: 'dist/wtc',
|
||||
},
|
||||
plugins: [typescript(), terser(), shebang({ include: 'dist/wtc' })],
|
||||
external: [
|
||||
'@iarna/toml',
|
||||
'chalk',
|
||||
'dayjs',
|
||||
'dayjs/plugin/customParseFormat.js',
|
||||
'dayjs/plugin/duration.js',
|
||||
'fs',
|
||||
'path',
|
||||
'readline/promises',
|
||||
'xdg-basedir',
|
||||
'yargs',
|
||||
'yargs/helpers',
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue