@dxtmisha/configuration 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/configuration",
3
3
  "private": false,
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "type": "module",
6
6
  "description": "Shared configuration files for DXT UI - Vite configs and TypeScript configs for building UI components",
7
7
  "keywords": [
@@ -27,9 +27,7 @@ import cssnanoPlugin from 'cssnano'
27
27
  export const viteBasicFunction = (
28
28
  name = 'dxt-ui',
29
29
  target = 'es2018',
30
- entry = [
31
- 'src/library.ts'
32
- ],
30
+ entry = 'src/library.ts',
33
31
  include = [
34
32
  'src/**/*.ts',
35
33
  'src/**/*.tsx',
@@ -115,8 +113,8 @@ export const viteBasicFunction = (
115
113
  plugins: [
116
114
  vue(),
117
115
  dts({
118
- clearPureImport: false,
119
- copyDtsFiles: false,
116
+ clearPureImport: true,
117
+ copyDtsFiles: true,
120
118
  exclude: [
121
119
  '**/__tests__/**',
122
120
  '**/*.test.ts',
@@ -129,6 +127,7 @@ export const viteBasicFunction = (
129
127
  '**/dist-temporary/**',
130
128
  '**/*.config.ts',
131
129
  '**/*.config.js',
130
+ '**/.gitignore',
132
131
  '**/vite-env.d.ts'
133
132
  ],
134
133
  include: [
@@ -136,7 +135,6 @@ export const viteBasicFunction = (
136
135
  ...include,
137
136
  ...includeExtended
138
137
  ],
139
- insertTypesEntry: true,
140
138
  outDir: 'dist',
141
139
  rollupTypes,
142
140
  staticImport: true,