Skip to content

Commit

Permalink
Merge pull request #1131 from geelen/patch-1
Browse files Browse the repository at this point in the history
Rename ESM output to .mjs
  • Loading branch information
mweststrate committed Sep 5, 2017
2 parents 9d52553 + 3da0318 commit 953710b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Simple, scalable state management.",
"main": "lib/mobx.js",
"umd:main": "lib/mobx.umd.js",
"module": "lib/mobx.module.js",
"module": "lib/mobx.mjs",
"typings": "lib/mobx.d.ts",
"scripts": {
"prettier": "prettier --write --print-width 100 --tab-width 4 --no-semi \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function build() {

generateBundledModule(
path.resolve(".build.es", "mobx.js"),
path.resolve("lib", "mobx.module.js"),
path.resolve("lib", "mobx.mjs"),
"es"
)
]).then(() => {
Expand Down

0 comments on commit 953710b

Please sign in to comment.