Closed DengSihan closed 1 year ago
Thanks for including a reproduction! Looking at the package.json
, the build script is for vue-tsc
not vite
, so what you're seeing for yarn build
is probably expected and not a CRXJS issue.
The manifest needs to include a action
key to include the popup, there's an example in the Google Developer docs.
If you want to use HTML pages that aren't in the manifest, you can follow these instructions to include them in the build.
Build tool
Vite
Where do you see the problem?
Describe the bug
I'm developing a extension which has both popup page and tabs page.
When in develop mode (
yarn dev
), everything works fine.But when I try to build for production:
yarn build
can't works correctly, only typescript tips were printed on the console (At the tail of the messages:error Command failed with exit code 1.
)tsc
:yarn vite build
the process was done, but the build can't be accessiableReproduction
miniest reproduction
Logs
No response
System Info
Severity
annoyance