Skip to content

Commit

Permalink
chore: tweak build & exports a little more
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Dec 5, 2024
1 parent 64b001d commit bc768f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frameworks/slickgrid-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Aggregators, type Column, type Editors, Enums, type Filters, Formatters, GroupTotalFormatters, SortComparers, Utilities } from '@slickgrid-universal/common';
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
import { Aggregators, type Column, type Editors, Enums, type Filters, Formatters, GroupTotalFormatters, SortComparers, Utilities } from '@slickgrid-universal/common';
export * from '@slickgrid-universal/common';

import SlickgridVue from './components/SlickgridVue.vue';
Expand Down
2 changes: 1 addition & 1 deletion frameworks/slickgrid-vue/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src", "lib"]
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"]
}
4 changes: 2 additions & 2 deletions frameworks/slickgrid-vue/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const __dirname = dirname(fileURLToPath(import.meta.url));

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), dts({ rollupTypes: false, tsconfigPath: './tsconfig.app.json' })],
plugins: [vue(), dts({ insertTypesEntry: true, rollupTypes: false, tsconfigPath: './tsconfig.app.json' })],
build: {
copyPublicDir: false,
lib: {
entry: resolve(__dirname, 'src/index.ts'),
name: 'SlickgridVue',
formats: ['es', 'cjs'],
fileName: format => format === 'cjs' ? 'index.cjs' : 'index.mjs',
},
Expand Down

0 comments on commit bc768f7

Please sign in to comment.