Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ESM Support. #36

Open
wants to merge 2 commits into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(esm) minor improvements
  • Loading branch information
LJNeon committed Jul 15, 2020
commit 1677ff4c0c15c7f1c39859428feb1295ecae112e
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@iarna/toml",
"version": "3.0.0",
"type": "commonjs",
"main": "./toml.js",
LJNeon marked this conversation as resolved.
Show resolved Hide resolved
"exports": {
".": [
Expand Down
4 changes: 2 additions & 2 deletions toml-esm.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export {default as parse} from './parse.js';
export {default as stringify} from './stringify.js';
export {default as parse} from './parse.js'
export {default as stringify} from './stringify.js'