chore: use lib instead of copy-pasting bundling module

This commit is contained in:
andres
2023-10-17 10:34:18 +02:00
parent 5e229bf646
commit ca68482061
6 changed files with 1904 additions and 253 deletions

View File

@@ -3,10 +3,10 @@ import path from 'node:path'
import { join } from 'path'
import { electronApp, is, optimizer } from '@electron-toolkit/utils'
import { bundleMdx } from '@it-incubator/md-bundler'
import { BrowserWindow, app, ipcMain, shell } from 'electron'
import icon from '../../resources/icon.png?asset'
import { bundleMdx } from './bundle-mdx'
const chokidar = require('chokidar')
let mainWindow: BrowserWindow | null = null