@applica-software-guru/persona-sdk 0.1.44-preview2 → 0.1.44-preview3
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 +0 -6
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -8,7 +8,6 @@ import tailwindcss from '@tailwindcss/vite';
|
|
|
8
8
|
export default defineConfig((configEnv: ConfigEnv) => {
|
|
9
9
|
const { mode } = configEnv;
|
|
10
10
|
const isDevelopment = mode === 'development';
|
|
11
|
-
const peerDependencies = Object.keys(packageJson.peerDependencies || {});
|
|
12
11
|
|
|
13
12
|
const config: UserConfig = {
|
|
14
13
|
build: {
|
|
@@ -26,13 +25,11 @@ export default defineConfig((configEnv: ConfigEnv) => {
|
|
|
26
25
|
globals: {
|
|
27
26
|
'react-dom': 'ReactDOM',
|
|
28
27
|
react: 'React',
|
|
29
|
-
'@assistant-ui/react': 'AssistantUIReact',
|
|
30
28
|
},
|
|
31
29
|
},
|
|
32
30
|
},
|
|
33
31
|
},
|
|
34
32
|
resolve: {
|
|
35
|
-
dedupe: [...peerDependencies, 'react', 'react-dom'],
|
|
36
33
|
alias: {
|
|
37
34
|
'@applica-software-guru/persona-sdk': resolve(__dirname, 'src'),
|
|
38
35
|
'@': resolve(__dirname, 'playground/src'),
|
|
@@ -51,9 +48,6 @@ export default defineConfig((configEnv: ConfigEnv) => {
|
|
|
51
48
|
NODE_ENV: 'client',
|
|
52
49
|
},
|
|
53
50
|
},
|
|
54
|
-
optimizeDeps: {
|
|
55
|
-
exclude: [...peerDependencies, 'react', 'react-dom'],
|
|
56
|
-
},
|
|
57
51
|
};
|
|
58
52
|
if (isDevelopment) {
|
|
59
53
|
config.plugins = [react(), tailwindcss()];
|