From c88cc67e0b622722cb344dfe144c88f632e20cf1 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 28 Sep 2025 22:27:27 +0200 Subject: [PATCH] style(icons/vite): removing the comment on the same line - Moving the comment below --- src/icons/vite.config.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/icons/vite.config.js b/src/icons/vite.config.js index 9aba98c..2c172a5 100644 --- a/src/icons/vite.config.js +++ b/src/icons/vite.config.js @@ -25,22 +25,27 @@ const externals = collectDeps( export default defineConfig({ - root: __dirname, // service root + root: __dirname, + // service root plugins: [tsconfigPaths(), nodeExternals()], build: { ssr: true, outDir: 'dist', emptyOutDir: true, lib: { - entry: path.resolve(__dirname, 'src/run.ts'), // adjust main entry - formats: ['cjs'], // CommonJS for Node.js + entry: path.resolve(__dirname, 'src/run.ts'), + // adjust main entry + formats: ['cjs'], + // CommonJS for Node.js fileName: () => 'index.js', }, rollupOptions: { external: externals, }, - target: 'node22', // or whatever Node version you use + target: 'node22', + // or whatever Node version you use sourcemap: false, - minify: true, // for easier debugging + minify: true, + // for easier debugging }, });