AI-native design editor. Open-source Figma alternative.
chore: merge master into live-editor-regressions
Danila Poyarkovf88a66fced76
diff --cc vite.config.tsindex dc19d1ede,390bf8b30..0f0527e63--- a/vite.config.ts+++ b/vite.config.ts@@@ -22,31 -24,34 +24,34 @@@ import { createDevServerOptions } fromconst host = process.env.TAURI_DEV_HOSTconst automationRoute = localAutomationRoute(host)- export default defineConfig(async ({ command }) => ({- resolve: {- alias: createOpenPencilAliases(__dirname)- },- define: {- __OPENPENCIL_APP_VERSION__: JSON.stringify(packageJson.version),- __OPENPENCIL_LOCAL_AUTOMATION_TOKEN__: JSON.stringify(localAutomationToken(command)),- __OPENPENCIL_LOCAL_AUTOMATION_URL__: JSON.stringify(automationRoute.browserURL),- __OPENPENCIL_LOCAL_AUTOMATION_HTTP_URL__: JSON.stringify(- automationRoute.browserURL.replace(/^ws/, 'http')- )- },- plugins: [- rawMarkdownPlugin(),- copyCanvasKitAssetsPlugin(),- tailwindcss(),- Icons({ compiler: 'vue3' }),- Components({ resolvers: [IconsResolver({ prefix: 'icon' })] }),- openPencilAutomationPlugin(command, host),- vue(),- openPencilPwaPlugin()- ],- clearScreen: false,- build: {- chunkSizeWarningLimit: 2500- },- server: createDevServerOptions(host, __dirname)- }))+ export default defineConfig(async ({ command }) => {+ await ensureBrandAssets(['web'])+ return {+ resolve: {+ alias: createOpenPencilAliases(__dirname)+ },+ define: {+ __OPENPENCIL_APP_VERSION__: JSON.stringify(packageJson.version),+ __OPENPENCIL_LOCAL_AUTOMATION_TOKEN__: JSON.stringify(localAutomationToken(command)),+ __OPENPENCIL_LOCAL_AUTOMATION_URL__: JSON.stringify(automationRoute.browserURL),+ __OPENPENCIL_LOCAL_AUTOMATION_HTTP_URL__: JSON.stringify(+ automationRoute.browserURL.replace(/^ws/, 'http')+ )+ },+ plugins: [+ rawMarkdownPlugin(),+ copyCanvasKitAssetsPlugin(),+ tailwindcss(),+ Icons({ compiler: 'vue3' }),+ Components({ resolvers: [IconsResolver({ prefix: 'icon' })] }),+ openPencilAutomationPlugin(command, host),+ vue(),+ openPencilPwaPlugin()+ ],+ clearScreen: false,+ build: {+ chunkSizeWarningLimit: 2500+ },- server: createDevServerOptions(host)++ server: createDevServerOptions(host, __dirname)+ }+ })