diff --git a/package.json b/package.json index f9b312efb..0fa42b0d4 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ }, "files": [ "dist", - "umd", "*.d.ts" ], "publishConfig": { @@ -36,7 +35,7 @@ "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", - "browser": "./umd/browser.global.js", + "browser": "./dist/browser.global.js", "exports": { ".": { "import": { diff --git a/rollup.config.mjs b/rollup.config.mjs index c1f025f15..a6f38e226 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -24,7 +24,6 @@ const testPatterns = ['**/*.bench.ts', '**/*.spec.ts', '**/*.test.ts']; export default () => { clearDir('dist'); - clearDir('umd'); const entrypoints = Object.values(packageJson.exports).filter(f => /^(\.\/)?src\//.test(f) && f.endsWith('.ts'));