Skip to content

Commit

Permalink
build(script): update script
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Feb 25, 2024
1 parent efa6b68 commit aed3b30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mutability",
"version": "0.2.3",
"version": "0.3.0",
"description": "A JavaScript library for transactional mutable updates",
"main": "dist/index.cjs.js",
"unpkg": "dist/index.umd.js",
Expand Down
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
exports: 'auto',
file: 'dist/index.cjs.js',
sourcemap: true,
exports: 'named',
},
{
format: 'es',
Expand All @@ -31,6 +32,7 @@ export default {
globals: {
mutative: 'Mutative',
},
exports: 'named',
},
],
plugins: [
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ export const mutate = <T>(baseState: T, recipe: (state: T) => void) => {
});
apply(baseState, patches);
};

export default mutate;

0 comments on commit aed3b30

Please sign in to comment.