@n8n/chat 0.8.0 → 0.9.0
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 +1 -1
- package/vite.config.ts +13 -7
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fileURLToPath, URL } from 'node:url';
|
|
2
2
|
|
|
3
3
|
import { defineConfig } from 'vite';
|
|
4
|
+
import checker from 'vite-plugin-checker';
|
|
4
5
|
import { resolve } from 'path';
|
|
5
6
|
import vue from '@vitejs/plugin-vue';
|
|
6
7
|
import icons from 'unplugin-icons/vite';
|
|
@@ -9,15 +10,20 @@ import dts from 'vite-plugin-dts';
|
|
|
9
10
|
const includeVue = process.env.INCLUDE_VUE === 'true';
|
|
10
11
|
const srcPath = fileURLToPath(new URL('./src', import.meta.url));
|
|
11
12
|
|
|
13
|
+
const plugins = [
|
|
14
|
+
vue(),
|
|
15
|
+
icons({
|
|
16
|
+
compiler: 'vue3',
|
|
17
|
+
}),
|
|
18
|
+
dts(),
|
|
19
|
+
];
|
|
20
|
+
if (process.env.ENABLE_TYPE_CHECKING === 'true') {
|
|
21
|
+
plugins.push(checker({ vueTsc: true }));
|
|
22
|
+
}
|
|
23
|
+
|
|
12
24
|
// https://vitejs.dev/config/
|
|
13
25
|
export default defineConfig({
|
|
14
|
-
plugins
|
|
15
|
-
vue(),
|
|
16
|
-
icons({
|
|
17
|
-
compiler: 'vue3',
|
|
18
|
-
}),
|
|
19
|
-
dts(),
|
|
20
|
-
],
|
|
26
|
+
plugins,
|
|
21
27
|
resolve: {
|
|
22
28
|
alias: {
|
|
23
29
|
'@': srcPath,
|