Jervis2049 / vite-plugin-crx-mv3

Build a Chrome Extension with Vite⚡
201 stars 30 forks source link

插件无法运行 #25

Closed 724493602 closed 1 year ago

724493602 commented 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

724493602 commented 1 year ago

插件0.1.3版本

Jervis2049 commented 1 year ago

根据描述无法定位问题,希望提供一个可以复现这个问题的demo。

Js-Man-H5 commented 1 year ago

crx.default({....}) 就可以了

Jervis2049 commented 1 year ago

v0.1.4已修复