Skip to content

Commit

Permalink
fixup! feat: add support for ESM module when transpiling code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernat Jufré committed Jun 2, 2021
1 parent 5f38224 commit 400f5bb
Show file tree
Hide file tree
Showing 30 changed files with 210 additions and 90 deletions.
10 changes: 7 additions & 3 deletions packages/mjml-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-body/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-column/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -40,4 +44,4 @@
"chai": "^4.1.1",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-attributes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-breakpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-font/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-html-attributes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head-title/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-head/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-hero/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
10 changes: 7 additions & 3 deletions packages/mjml-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -31,4 +35,4 @@
"@babel/cli": "^7.8.4",
"rimraf": "^3.0.2"
}
}
}
Loading

0 comments on commit 400f5bb

Please sign in to comment.