Skip to content

Commit

Permalink
build!: drop support for umd build
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Jul 21, 2024
1 parent ca4139c commit 3933072
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
4 changes: 0 additions & 4 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@
{
"path": "dist/index.mjs",
"limit": "2391 B"
},
{
"path": "dist/index.umd.js",
"limit": "2283 B"
}
]
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
}
},
"main": "./dist/index.cjs",
"unpkg": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"typings": "./dist/index.d.ts",
"files": [
Expand Down
24 changes: 0 additions & 24 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 3933072

Please sign in to comment.