mirror of https://github.com/eleith/emailjs.git
build: clean up config
This commit is contained in:
parent
6ae32a4c8e
commit
54e03335bf
|
@ -7,7 +7,6 @@ export default {
|
||||||
{
|
{
|
||||||
file: 'rollup/email.cjs',
|
file: 'rollup/email.cjs',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
interop: false,
|
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -18,6 +17,6 @@ export default {
|
||||||
],
|
],
|
||||||
external: builtinModules,
|
external: builtinModules,
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript({ removeComments: false, include: ['email.ts', 'smtp/**/*'] }),
|
typescript({ removeComments: false, include: ['email.ts', 'smtp/*'] }),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "@ledge/configs/tsconfig.json",
|
"extends": "@ledge/configs/tsconfig.json",
|
||||||
"compilerOptions": {
|
|
||||||
"esModuleInterop": false,
|
|
||||||
"noPropertyAccessFromIndexSignature": true
|
|
||||||
},
|
|
||||||
"include": [
|
"include": [
|
||||||
"*.ts",
|
"email.ts",
|
||||||
"smtp/**/*.ts",
|
"smtp",
|
||||||
"test/*.ts",
|
"test",
|
||||||
],
|
],
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"transpileOnly": true
|
"transpileOnly": true
|
||||||
|
|
Loading…
Reference in New Issue