Changes: - Migrates `email` example project to `3.0` from `2.0` - Replaces `inline-css` dependency with `juice` package instead. - Replaces `Handlebars` dependency with `ejs` package instead. Reason for replacing packages: - Both `inline-css` & `Handlebars` had issues with Nextjs and its Webpack bundling i.e does not support `require.extensions`. - `ejs` & `juice` do not rely on `require.extensions`.
25 lines
457 B
Plaintext
25 lines
457 B
Plaintext
{
|
|
"$schema": "https://json.schemastore.org/swcrc",
|
|
"sourceMaps": true,
|
|
"jsc": {
|
|
"target": "esnext",
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": true,
|
|
"dts": true
|
|
},
|
|
"transform": {
|
|
"react": {
|
|
"runtime": "automatic",
|
|
"pragmaFrag": "React.Fragment",
|
|
"throwIfNamespace": true,
|
|
"development": false,
|
|
"useBuiltins": true
|
|
}
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "es6"
|
|
}
|
|
}
|