Skip to content

Commit

Permalink
Adjust configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Jan 21, 2024
1 parent f1b0de5 commit 3381144
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
entries: ["./index.js"],
rollup: {
emitCJS: true,
},
};
File renamed without changes.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"node": ">=8.0.0"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion tests/crc.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const crc32 = require('..');
const crc32 = require('../index.js');
const test = require('tap').test;

test('simple crc32 is no problem', function (t) {
Expand Down

0 comments on commit 3381144

Please sign in to comment.