diff --git a/packages/mjml-accordion/package.json b/packages/mjml-accordion/package.json index e1fa6efad..5b086d95a 100644 --- a/packages/mjml-accordion/package.json +++ b/packages/mjml-accordion/package.json @@ -2,8 +2,12 @@ "name": "mjml-accordion", "description": "mjml-accordion", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-body/package.json b/packages/mjml-body/package.json index 5337801b3..03e87012e 100644 --- a/packages/mjml-body/package.json +++ b/packages/mjml-body/package.json @@ -2,8 +2,12 @@ "name": "mjml-body", "description": "mjml-body", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-button/package.json b/packages/mjml-button/package.json index c100b8b1a..e5fc4858e 100644 --- a/packages/mjml-button/package.json +++ b/packages/mjml-button/package.json @@ -2,8 +2,12 @@ "name": "mjml-button", "description": "mjml-button", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-carousel/package.json b/packages/mjml-carousel/package.json index 496a109dd..45d45749c 100644 --- a/packages/mjml-carousel/package.json +++ b/packages/mjml-carousel/package.json @@ -2,8 +2,12 @@ "name": "mjml-carousel", "description": "mjml-carousel", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-column/package.json b/packages/mjml-column/package.json index 212e2385a..97b0063b2 100644 --- a/packages/mjml-column/package.json +++ b/packages/mjml-column/package.json @@ -2,8 +2,12 @@ "name": "mjml-column", "description": "mjml-column", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-core/package.json b/packages/mjml-core/package.json index a046c581b..b91be661f 100644 --- a/packages/mjml-core/package.json +++ b/packages/mjml-core/package.json @@ -2,8 +2,12 @@ "name": "mjml-core", "description": "mjml-core", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -40,4 +44,4 @@ "chai": "^4.1.1", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-divider/package.json b/packages/mjml-divider/package.json index 2de571642..84d671a42 100644 --- a/packages/mjml-divider/package.json +++ b/packages/mjml-divider/package.json @@ -2,8 +2,12 @@ "name": "mjml-divider", "description": "mjml-divider", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-group/package.json b/packages/mjml-group/package.json index caee363a8..1c611b9d1 100644 --- a/packages/mjml-group/package.json +++ b/packages/mjml-group/package.json @@ -2,8 +2,12 @@ "name": "mjml-group", "description": "mjml-group", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-attributes/package.json b/packages/mjml-head-attributes/package.json index a828f2b13..2e64f05b6 100644 --- a/packages/mjml-head-attributes/package.json +++ b/packages/mjml-head-attributes/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-attributes", "description": "mjml-head-attributes", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-breakpoint/package.json b/packages/mjml-head-breakpoint/package.json index 9c7a53d8b..f28be918a 100644 --- a/packages/mjml-head-breakpoint/package.json +++ b/packages/mjml-head-breakpoint/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-breakpoint", "description": "mjml-head-breakpoint", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-font/package.json b/packages/mjml-head-font/package.json index 184c7f1de..6e7cc421a 100644 --- a/packages/mjml-head-font/package.json +++ b/packages/mjml-head-font/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-font", "description": "mjml-head-font", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-html-attributes/package.json b/packages/mjml-head-html-attributes/package.json index ed1121e90..f4fe07b5d 100644 --- a/packages/mjml-head-html-attributes/package.json +++ b/packages/mjml-head-html-attributes/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-html-attributes", "description": "mjml-head-html-attributes", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-preview/package.json b/packages/mjml-head-preview/package.json index b54e80d51..d24b7996b 100644 --- a/packages/mjml-head-preview/package.json +++ b/packages/mjml-head-preview/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-preview", "description": "mjml-head-preview", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-style/package.json b/packages/mjml-head-style/package.json index 0a9e598e3..26931714e 100644 --- a/packages/mjml-head-style/package.json +++ b/packages/mjml-head-style/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-style", "description": "mjml-head-style", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head-title/package.json b/packages/mjml-head-title/package.json index 2237c6af5..3a4481101 100644 --- a/packages/mjml-head-title/package.json +++ b/packages/mjml-head-title/package.json @@ -2,8 +2,12 @@ "name": "mjml-head-title", "description": "mjml-head-title", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-head/package.json b/packages/mjml-head/package.json index 56c848e4e..4707d031a 100644 --- a/packages/mjml-head/package.json +++ b/packages/mjml-head/package.json @@ -2,8 +2,12 @@ "name": "mjml-head", "description": "mjml-head", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-hero/package.json b/packages/mjml-hero/package.json index 193f9ac9a..dc85e6c8e 100644 --- a/packages/mjml-hero/package.json +++ b/packages/mjml-hero/package.json @@ -2,8 +2,12 @@ "name": "mjml-hero", "description": "mjml-hero", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-image/package.json b/packages/mjml-image/package.json index 39215e9e1..539f1d044 100644 --- a/packages/mjml-image/package.json +++ b/packages/mjml-image/package.json @@ -2,8 +2,12 @@ "name": "mjml-image", "description": "mjml-image", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-navbar/package.json b/packages/mjml-navbar/package.json index f9bb8b344..47e99e4d0 100644 --- a/packages/mjml-navbar/package.json +++ b/packages/mjml-navbar/package.json @@ -2,8 +2,12 @@ "name": "mjml-navbar", "description": "mjml-navbar", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-parser-xml/package.json b/packages/mjml-parser-xml/package.json index e3ac024d3..73cbac82c 100644 --- a/packages/mjml-parser-xml/package.json +++ b/packages/mjml-parser-xml/package.json @@ -2,8 +2,12 @@ "name": "mjml-parser-xml", "description": "mjml-parser-xml", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -36,4 +40,4 @@ "mjml-core": "4.9.3", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-preset-core/package.json b/packages/mjml-preset-core/package.json index f68bca0d2..251474577 100644 --- a/packages/mjml-preset-core/package.json +++ b/packages/mjml-preset-core/package.json @@ -2,8 +2,12 @@ "name": "mjml-preset-core", "description": "mjml-preset-core", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -54,4 +58,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-raw/package.json b/packages/mjml-raw/package.json index 9619c751f..6b4336ccf 100644 --- a/packages/mjml-raw/package.json +++ b/packages/mjml-raw/package.json @@ -2,8 +2,12 @@ "name": "mjml-raw", "description": "mjml-raw", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-section/package.json b/packages/mjml-section/package.json index 3cf220be8..a354981ae 100644 --- a/packages/mjml-section/package.json +++ b/packages/mjml-section/package.json @@ -2,8 +2,12 @@ "name": "mjml-section", "description": "mjml-section", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-social/package.json b/packages/mjml-social/package.json index 5c29a5f62..43b6a40e1 100644 --- a/packages/mjml-social/package.json +++ b/packages/mjml-social/package.json @@ -2,8 +2,12 @@ "name": "mjml-social", "description": "mjml-social", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-spacer/package.json b/packages/mjml-spacer/package.json index dae0383c2..3de92396b 100644 --- a/packages/mjml-spacer/package.json +++ b/packages/mjml-spacer/package.json @@ -2,8 +2,12 @@ "name": "mjml-spacer", "description": "mjml-spacer", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-table/package.json b/packages/mjml-table/package.json index 34ee6a1d4..13726cad2 100644 --- a/packages/mjml-table/package.json +++ b/packages/mjml-table/package.json @@ -2,8 +2,12 @@ "name": "mjml-table", "description": "mjml-atable", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-text/package.json b/packages/mjml-text/package.json index 092c80349..8d07e968c 100644 --- a/packages/mjml-text/package.json +++ b/packages/mjml-text/package.json @@ -2,8 +2,12 @@ "name": "mjml-text", "description": "mjml-text", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -31,4 +35,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-validator/package.json b/packages/mjml-validator/package.json index 84943e8bd..2c489deb9 100644 --- a/packages/mjml-validator/package.json +++ b/packages/mjml-validator/package.json @@ -2,8 +2,12 @@ "name": "mjml-validator", "description": "mjml-validator", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/cjs/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/cjs/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -29,4 +33,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml-wrapper/package.json b/packages/mjml-wrapper/package.json index 9cfcb4320..ababb4072 100644 --- a/packages/mjml-wrapper/package.json +++ b/packages/mjml-wrapper/package.json @@ -2,8 +2,12 @@ "name": "mjml-wrapper", "description": "mjml-wrapper", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "files": [ "lib" ], @@ -32,4 +36,4 @@ "@babel/cli": "^7.8.4", "rimraf": "^3.0.2" } -} +} \ No newline at end of file diff --git a/packages/mjml/package.json b/packages/mjml/package.json index 658003699..ccfa21c9f 100644 --- a/packages/mjml/package.json +++ b/packages/mjml/package.json @@ -2,8 +2,12 @@ "name": "mjml", "description": "MJML: the only framework that makes responsive-email easy", "version": "4.9.3", - "main": "lib/cjs/index.js", - "module": "lib/esm/index.js", + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "exports": { + "imports": "./lib/esm/index.js", + "require": "./lib/cjs/index.js" + }, "bin": { "mjml": "bin/mjml" }, @@ -42,4 +46,4 @@ "lodash": "^4.17.15", "rimraf": "^3.0.2" } -} +} \ No newline at end of file