]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
jsnext:main -> module (#3904)
authorEvan Scott <evan.scott@zocdoc.com>
Thu, 3 Aug 2017 01:35:20 +0000 (21:35 -0400)
committerMaggie Pint <maggiepint@gmail.com>
Thu, 3 Aug 2017 01:35:20 +0000 (18:35 -0700)
Per rollup & webpack. https://github.com/rollup/rollup/wiki/pkg.module

package.json

index f968d715eae658aee5eb46f71ccdb4da043cf00b..dd62dc5b7924af5e6e34d66092f813b6175d1a77 100644 (file)
@@ -23,7 +23,7 @@
         "ender"
     ],
     "main": "./moment.js",
-    "jsnext:main": "./src/moment.js",
+    "module": "./src/moment.js",
     "typings": "./moment.d.ts",
     "engines": {
         "node": "*"