Skip to content

Commit

Permalink
support native modules in node when using .mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimko committed Oct 26, 2018
1 parent ea32c9c commit 79a7d9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@
"bookmarklet": "scripts/bookmarklet",
"build:es": "cross-env BABEL_ENV=es babel source --out-dir es",
"build:cjs": "cross-env BABEL_ENV=cjs babel source --out-dir src",
"build:mjs": "cross-env BABEL_ENV=es babel source/index.js --out-file src/index.mjs",
"build:umd": "cross-env NODE_ENV=development rollup -c -o dist/ramda.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/ramda.min.js",
"build": "npm run build:es && npm run build:cjs && npm run build:umd && npm run build:umd:min",
"build": "npm run build:es && npm run build:cjs && npm run build:umd && npm run build:umd:min && npm run build:mjs",
"partial-build": "node ./scripts/partialBuild",
"clean": "rimraf es/* src/* dist/* coverage/*",
"prepare": "npm run clean && npm run build",
Expand Down

0 comments on commit 79a7d9d

Please sign in to comment.