Skip to content

Commit

Permalink
chore: publish ES module version with mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Aug 28, 2024
1 parent 354cbfe commit bad1622
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.8.0",
"description": "A util for bpmn-js to extract Camunda BPM process variables from a BPMN 2.0 diagram.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"module": "dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.esm.js",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./zeebe": {
"import": "./zeebe/index.esm.js",
"import": "./zeebe/index.mjs",
"require": "./zeebe/index.js"
}
},
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = [
input: 'src/index.js',
output: [
{ file: 'dist/index.js', format: 'cjs' },
{ file: 'dist/index.esm.js', format: 'es' }
{ file: 'dist/index.mjs', format: 'es' }
],
external: [
'min-dash'
Expand All @@ -27,7 +27,7 @@ const config = [
input: 'src/zeebe/index.js',
output: [
{ file: 'zeebe/index.js', format: 'cjs' },
{ file: 'zeebe/index.esm.js', format: 'es' }
{ file: 'zeebe/index.mjs', format: 'es' }
],
external: [
'min-dash'
Expand Down

0 comments on commit bad1622

Please sign in to comment.