From cc6b197d823ecbd80bd440ae66ac946a2e7d4301 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 23 Nov 2023 18:28:42 +0200 Subject: [PATCH] Resolve rollup build warnings --- rollup.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index 0e1e6ab..0aef700 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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;