diff --git a/package.json b/package.json index 7762773..4645bc1 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,24 @@ { - "name": "shortcuts-glyph-search", - "private": true, - "version": "1.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, - "dependencies": { - "vue": "^3.4.21", - "framework7": "^8.3.3", - "framework7-icons": "^5.0.5" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^5.0.4", - "vite": "^5.2.0", - "framework7-vue": "^8.3.3" - } + "name": "shortcuts-glyph-search", + "private": true, + "version": "1.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "vue": "^3.4.21", + "framework7": "^8.3.3", + "framework7-icons": "^5.0.5" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^5.0.4", + "vite": "^5.2.0", + "framework7-vue": "^8.3.3" + }, + "resolutions": { + "rollup": "npm:@rollup/wasm-node" + } } diff --git a/vite.config.js b/vite.config.js index 19b096f..da83cec 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,4 +5,8 @@ import vue from '@vitejs/plugin-vue' export default defineConfig({ plugins: [vue()], base: '/shortcuts-glyph-search/', + esbuild: { + target: 'esnext', + platform: 'linux', + } })