@dxtmisha/configuration 0.4.3 → 0.4.4

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.3",
4
+ "version": "0.4.4",
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": [
@@ -1,4 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
+ import { builtinModules } from 'node:module'
2
3
 
3
4
  import vue from '@vitejs/plugin-vue'
4
5
  import dts from 'vite-plugin-dts'
@@ -36,7 +37,8 @@ export const viteBasicFunction = (
36
37
  ],
37
38
  includeExtended = [],
38
39
  external = [
39
- /^node:/,
40
+ ...builtinModules,
41
+ ...builtinModules.map(m => `node:${m}`),
40
42
  'vue',
41
43
  'vue-router',
42
44
  '@vue/runtime-core',