From ed2b3ce39145a4febf5a8fadd64e75387318269d Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Tue, 24 Oct 2023 23:34:36 -0400 Subject: [PATCH] release: 0.0.2 --- CHANGELOG.mdx | 6 ++++++ package.json | 2 +- vite.config copy.ts | 23 ----------------------- 3 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 vite.config copy.ts diff --git a/CHANGELOG.mdx b/CHANGELOG.mdx index c945798..fec9e58 100644 --- a/CHANGELOG.mdx +++ b/CHANGELOG.mdx @@ -16,6 +16,12 @@ Prefix the change with one of these keywords: ## [Unreleased] +## [0.0.2] + +### Changed + +- Updated vite config to exclude dependencies in build + ## [0.0.1] ### Added diff --git a/package.json b/package.json index b907c7f..ae38e5f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@carletonuniversity/rds-forms", "private": false, - "version": "0.0.1", + "version": "0.0.2", "type": "module", "main": "./dist/rds.umd.js", "module": "./dist/rds.es.js", diff --git a/vite.config copy.ts b/vite.config copy.ts deleted file mode 100644 index 8f20b5b..0000000 --- a/vite.config copy.ts +++ /dev/null @@ -1,23 +0,0 @@ -import react from '@vitejs/plugin-react' -import { resolve } from 'path' -import { defineConfig } from 'vite' -import dts from 'vite-plugin-dts' -import tsConfigPaths from 'vite-tsconfig-paths' - -export default defineConfig(() => ({ - plugins: [ - react(), - tsConfigPaths(), - dts({ - include: ['src'], - }), - ], - build: { - lib: { - entry: resolve('src', 'index.ts'), - name: 'rds-forms', - formats: ['es', 'umd'], - fileName: (format) => `rds-forms.${format}.js`, - }, - }, -}))