chore: remove "rollup-plugin-copy"

This commit is contained in:
草鞋没号
2021-02-18 20:06:23 +08:00
parent b23ea04a73
commit a65ab4603b
4 changed files with 14 additions and 190 deletions

View File

@@ -5,7 +5,6 @@ import commonjs from '@rollup/plugin-commonjs'
import esbuild from 'rollup-plugin-esbuild'
import alias from '@rollup/plugin-alias'
import json from '@rollup/plugin-json'
import copy from 'rollup-plugin-copy'
import externals from 'rollup-plugin-node-externals'
export default (env = 'production') => {
@@ -50,9 +49,6 @@ export default (env = 'production') => {
{ find: '@main', replacement: join(__dirname, '../src/main'), },
]
}),
copy({
targets: [{ src: join(__dirname, '../src/preload'), dest: join(__dirname, '../dist') }],
}),
externals(),
],
external: ['electron'],