refactor: add to templates
package export
This commit is contained in:
parent
2f663f0e08
commit
fd1011619c
|
@ -4,7 +4,8 @@
|
|||
"exports": {
|
||||
".": "./mod.ts",
|
||||
"./cli": "./cli.ts",
|
||||
"./types": "./types.ts"
|
||||
"./types": "./types.ts",
|
||||
"./templates": "./templates/mod.ts"
|
||||
},
|
||||
"tasks": {
|
||||
"compile": "deno compile --allow-read --allow-env --allow-net=0.0.0.0 --allow-sys=osRelease,networkInterfaces --allow-run=/usr/sbin/sendmail,whoami --output=bin/cohamail --target=x86_64-unknown-linux-gnu ./cli.ts",
|
||||
|
|
2
templates/mod.ts
Normal file
2
templates/mod.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
export { default as messageTemplate } from './Message.tsx'
|
||||
export { default as welcomeTemplate } from './Welcome.tsx'
|
Loading…
Reference in a new issue