rimraf rimraf & use rollup-plugin-delete instead

This commit is contained in:
2021-08-30 21:06:14 -04:00
parent 98e6abda03
commit 663eed7c15
3 changed files with 60 additions and 87 deletions
+2
View File
@@ -5,6 +5,7 @@ import { terser } from "rollup-plugin-terser";
import eslint from "@rollup/plugin-eslint";
import filesize from "rollup-plugin-filesize";
import copy from "rollup-plugin-copy";
import del from "rollup-plugin-delete";
const banner = `/*! Simple Anchor v${pkg.version} | MIT License | https://github.com/jakejarvis/simple-anchor */`;
@@ -38,6 +39,7 @@ export default [
},
],
plugins: [
del({ targets: "dist/*" }),
copy({
// clearly this isn't really typescript, so we need to manually copy the type definition file
targets: [