diff --git a/.size-limit.json b/.size-limit.json index 5377f52d..e83495b1 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -6,9 +6,5 @@ { "path": "dist/index.mjs", "limit": "2391 B" - }, - { - "path": "dist/index.umd.js", - "limit": "2283 B" } ] diff --git a/package.json b/package.json index 96de1b91..a59774a4 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ } }, "main": "./dist/index.cjs", - "unpkg": "./dist/index.umd.js", "module": "./dist/index.mjs", "typings": "./dist/index.d.ts", "files": [ diff --git a/rollup.config.ts b/rollup.config.ts index 954cd3f4..b4cf1157 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -49,30 +49,6 @@ const rollupOptions: readonly RollupOptions[] = [ clearScreen: false, }, }, - { - input: 'src/index.ts', - output: { - ...commonOutputOptions, - entryFileNames: '[name].[format].js', - format: 'umd', - name: 'didYouMean', - }, - plugins: [ - babel({ - babelHelpers: 'runtime', - extensions: ['.js', '.ts'], - // https://github.com/rollup/plugins/issues/381 - skipPreflightCheck: true, - }), - commonjs({ - include: '**/node_modules/**', - }), - resolve({ - extensions: ['.js', '.ts'], - }), - terser(), - ], - }, { input: 'build/dts/index.d.ts', output: {