Skip to content

Commit

Permalink
adicionado o babel pra gerar o projeto de producao
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-alves committed Jun 20, 2020
1 parent f7807c0 commit c52815c
Show file tree
Hide file tree
Showing 4 changed files with 1,780 additions and 1,004 deletions.
25 changes: 25 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current'
}
}
],
'@babel/preset-typescript'
],
plugins: [
['module-resolver', {
alias: {
'@controllers': './src/controllers',
'@events': './src/events',
'@views': './src/views'
}
}]
],
ignore: [
'**/*.spec.ts'
]
}
Loading

0 comments on commit c52815c

Please sign in to comment.