diff --git a/CHANGELOG.md b/CHANGELOG.md index 06c9fe0..bdb4e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `truncate` string utility function +### Removed + +- UMD build format from Rollup config + ## [1.5.0] - 2025-07-07 ### Added diff --git a/package.json b/package.json index 840c8e3..0f434aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@neolution-ch/javascript-utils", "version": "1.5.0", - "description": "todo @drebrez", + "description": "This is a collection of utilities that we have created to help with our development process.", "homepage": "https://neolution-ch.github.io/javascript-utils", "repository": { "type": "git", @@ -19,9 +19,6 @@ } }, "main": "dist/index.js", - "umd:main": "dist/index.umd.js", - "jsdelivr": "dist/index.umd.js", - "unpkg": "dist/index.umd.js", "module": "dist/index.modern.js", "source": "src/index.ts", "jsnext:main": "dist/index.modern.js", diff --git a/rollup.config.ts b/rollup.config.ts index 07bc424..aea1534 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -32,7 +32,7 @@ const plugins = [ commonjs({ include: /\/node_modules\//, }), - nodeResolve, + nodeResolve(), terser({ output: { comments: false }, compress: { @@ -48,7 +48,6 @@ export default defineConfig([ output: { file: "dist/index.js", format: "cjs", - name: "JavaScriptUtilities", sourcemap: true, exports: "named", interop: "auto", @@ -60,25 +59,9 @@ export default defineConfig([ output: { file: "dist/index.modern.js", format: "esm", - name: "JavaScriptUtilities", sourcemap: true, exports: "named", }, plugins, }, - { - input, - output: { - file: "dist/index.umd.js", - format: "umd", - name: "JavaScriptUtilities", - sourcemap: true, - exports: "named", - globals: { - "date-fns": "dateFns", - uuid: "uuid", - }, - }, - plugins, - }, ]);