exclude jan extension web from desktop build (#6419)
This commit is contained in:
parent
db52057030
commit
ea72c1ae0f
@ -30,6 +30,14 @@ export default defineConfig(({ mode }) => {
|
|||||||
'@': path.resolve(__dirname, './src'),
|
'@': path.resolve(__dirname, './src'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
optimizeDeps: {
|
||||||
|
exclude: ['@jan/extensions-web'],
|
||||||
|
},
|
||||||
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
external: ['@jan/extensions-web'],
|
||||||
|
},
|
||||||
|
},
|
||||||
define: {
|
define: {
|
||||||
IS_TAURI: JSON.stringify(process.env.IS_TAURI),
|
IS_TAURI: JSON.stringify(process.env.IS_TAURI),
|
||||||
IS_WEB_APP: JSON.stringify(false),
|
IS_WEB_APP: JSON.stringify(false),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user