]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[misc] Add module in addition to jsnext:main in package.json
authorhowel <wuhao.52@outlook.com>
Sun, 5 Jan 2020 17:56:17 +0000 (01:56 +0800)
committerIskren Chernev <iskren.chernev@gmail.com>
Fri, 24 Apr 2020 18:01:36 +0000 (21:01 +0300)
package.json

index 45650f087aeac883ab181cd9b47d2536570935a8..20923d02800359f48506b6d73b329c3bd7d4fcc2 100644 (file)
@@ -24,6 +24,7 @@
     ],
     "main": "./moment.js",
     "jsnext:main": "./src/moment.js",
+    "module": "./src/moment.js",
     "typings": "./moment.d.ts",
     "typesVersions": {
         ">=3.1": {