fix(electron-screen-capture): module not found on stage-tamagotchi start (#952)

This commit is contained in:
Makito
2026-01-15 03:06:10 +08:00
committed by GitHub
parent e3b37a4c92
commit 73d332df1f
2 changed files with 2 additions and 1 deletions
@@ -1,6 +1,7 @@
{
"name": "@proj-airi/electron-screen-capture",
"type": "module",
"version": "0.0.1",
"private": true,
"description": "Screen capture",
"author": {
@@ -4,7 +4,6 @@ import { defineConfig } from 'tsdown'
const sharedConfig: UserConfig = {
format: 'esm',
unbundle: true,
external: [
'electron',
'vue',
@@ -29,6 +28,7 @@ export default defineConfig([
},
{
...sharedConfig,
unbundle: true,
platform: 'browser',
entry: {
vue: 'src/vue/index.ts',