Closed 724493602 closed 1 year ago
`import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import crx from 'vite-plugin-crx-mv3'
export default defineConfig({ plugins: [ vue(), crx({ manifest: './manifest.json' }), ], })`
报错 error when starting dev server: TypeError: crx is not a function
插件0.1.3版本
根据描述无法定位问题,希望提供一个可以复现这个问题的demo。
crx.default({....}) 就可以了
v0.1.4已修复
`import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import crx from 'vite-plugin-crx-mv3'
export default defineConfig({ plugins: [ vue(), crx({ manifest: './manifest.json' }), ], })`
报错 error when starting dev server: TypeError: crx is not a function