Skip to content

Commit

Permalink
fix: revert package.json and utils.js #882 (#891)
Browse files Browse the repository at this point in the history
* revert package.json #882

* revert utils.js
  • Loading branch information
long76 committed Apr 9, 2023
1 parent ecb0684 commit 1d57298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion integration/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compute } from '../dist/index.mjs'
import { compute } from '../dist/index.js'
window.computeScrollIntoView = compute

window.mapActions = (item) => ({
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
"license": "MIT",
"author": "Cody Olsen",
"sideEffects": false,
"type": "commonjs",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"source": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist",
Expand Down

0 comments on commit 1d57298

Please sign in to comment.