Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
19 changes: 1 addition & 18 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const plugins = [
commonjs({
include: /\/node_modules\//,
}),
nodeResolve,
nodeResolve(),
terser({
output: { comments: false },
compress: {
Expand All @@ -48,7 +48,6 @@ export default defineConfig([
output: {
file: "dist/index.js",
format: "cjs",
name: "JavaScriptUtilities",
sourcemap: true,
exports: "named",
interop: "auto",
Expand All @@ -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,
},
]);