From 97257fc1f5f1d87787ef4bbb77247bfd82f7ace2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pena?= Date: Sun, 1 May 2022 23:46:22 +0100 Subject: [PATCH] Remove unused files --- .gitignore | 1 + rollup.config.js | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index ce7f03b..9021919 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ node_modules demo/node_modules /.vscode/ ts-build/ +dist/ diff --git a/rollup.config.js b/rollup.config.js index 495229a..4520f44 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -5,24 +5,24 @@ import typescript from "@rollup/plugin-typescript"; const packageJson = require("./package.json"); export default [ - { - input: "src/index.ts", - output: [ - { - file: packageJson.main, - format: "cjs", - sourcemap: true, - }, - { - file: packageJson.module, - format: "esm", - sourcemap: true, - }, - ], - plugins: [ - resolve(), - commonjs(), - typescript({ tsconfig: "./tsconfig.json" }), - ], - } + { + input: "src/index.ts", + output: [ + // { + // file: packageJson.main, + // format: "cjs", + // sourcemap: true, + // }, + { + file: packageJson.module, + format: "esm", + sourcemap: true + } + ], + plugins: [ + resolve(), + commonjs(), + typescript({ tsconfig: "./tsconfig.json" }) + ] + } ];