Skip to content

Commit

Permalink
Merge pull request #1171 from mobxjs/revert-1131-patch-1
Browse files Browse the repository at this point in the history
Revert "Rename ESM output to .mjs"
  • Loading branch information
mweststrate authored Sep 19, 2017
2 parents 108a3fb + 5e0fa41 commit 061481e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# 3.3.0

* Undeprecated `transaction`, see [#1139](https://github.com/mobxjs/mobx/issues/1139)
* Use `.mjs` extension for module build [1131](https://github.com/mobxjs/mobx/issues/1131)
* Fixed typings of reaction [#1136](https://github.com/mobxjs/mobx/issues/1136)
* It is now possible to re-define a computed property [#1121](https://github.com/mobxjs/mobx/issues/1121)
* Print an helpful error message when using `@action` on a getter [#971](https://github.com/mobxjs/mobx/issues/971)
Expand Down
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.mjs",
"module": "lib/mobx.module.js",
"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.mjs"),
path.resolve("lib", "mobx.module.js"),
"es"
)
]).then(() => {
Expand Down

0 comments on commit 061481e

Please sign in to comment.