fix(electron-screen-capture): module not found on stage-tamagotchi start (#952)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user