diff --git a/packages/analytics-js-integrations/rollup.config.mjs b/packages/analytics-js-integrations/rollup.config.mjs index b3ad617aa..ceea3df47 100644 --- a/packages/analytics-js-integrations/rollup.config.mjs +++ b/packages/analytics-js-integrations/rollup.config.mjs @@ -12,7 +12,6 @@ import typescript from 'rollup-plugin-typescript2'; import nodePolyfills from 'rollup-plugin-polyfill-node'; import { DEFAULT_EXTENSIONS } from '@babel/core'; import alias from '@rollup/plugin-alias'; -import del from 'rollup-plugin-delete'; import * as dotenv from 'dotenv'; import pkg from './package.json' assert { type: 'json' }; @@ -73,7 +72,6 @@ export function getDefaultConfig(distName, moduleType = 'cdn') { } ] }), - del({ hook: "buildEnd", targets: "./dist/dts" }), nodePolyfills(), resolve({ jsnext: true, diff --git a/packages/analytics-v1.1/rollup-configs/rollup.utilities.mjs b/packages/analytics-v1.1/rollup-configs/rollup.utilities.mjs index 729e5390b..a7ff0dd28 100644 --- a/packages/analytics-v1.1/rollup-configs/rollup.utilities.mjs +++ b/packages/analytics-v1.1/rollup-configs/rollup.utilities.mjs @@ -14,7 +14,6 @@ import htmlTemplate from 'rollup-plugin-generate-html-template'; import typescript from 'rollup-plugin-typescript2'; import nodePolyfills from 'rollup-plugin-polyfill-node'; import alias from "@rollup/plugin-alias"; -import del from "rollup-plugin-delete"; import * as dotenv from 'dotenv'; import { DEFAULT_EXTENSIONS } from '@babel/core'; @@ -86,7 +85,6 @@ export function getDefaultConfig(distName) { } ] }), - del({ hook: "buildEnd", targets: "./dist/dts" }), nodePolyfills(), resolve({ jsnext: true,