Skip to content

Commit

Permalink
publish es6 as mjs and declare type
Browse files Browse the repository at this point in the history
  • Loading branch information
smwhr committed May 22, 2024
1 parent ed6f19a commit d9542b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "inkjs",
"version": "2.2.3",
"version": "2.2.4",
"description": "A javascript port of inkle's ink scripting language (http://www.inklestudios.com/ink/)",
"type": "commonjs",
"main": "dist/ink-full.js",
"types": "ink.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default [
input: engineOnlyInputFile,
output: {
name: moduleName,
file: 'dist/ink-es6.js',
file: 'dist/ink.mjs',
format: 'es',
sourcemap: true
},
Expand Down

0 comments on commit d9542b3

Please sign in to comment.