mirror of
https://github.com/ershisan99/md-preview-desktop.git
synced 2025-12-18 12:33:43 +00:00
chore: use lib instead of copy-pasting bundling module
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user