Skip to content

Commit

Permalink
fix: file provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
nimec01 committed Sep 21, 2024
1 parent 32d3d72 commit c32bc23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
"README-v1.md",
"CHANGELOG.md"
],
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default {
input: './src/index.js',
output: [
{
file: './dist/index.js',
file: './dist/index.cjs',
format: 'cjs',
},
{
Expand Down

0 comments on commit c32bc23

Please sign in to comment.