Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Babel to compile API TypeScript code #95

Open
iquabius opened this issue Jan 25, 2019 · 0 comments
Open

Set up Babel to compile API TypeScript code #95

iquabius opened this issue Jan 25, 2019 · 0 comments
Labels
on-hold Tarefas que NÃO seram feitas até serem revisadas prio-low Tarefas de prioridade baixa que podem esperar tooling O problema envolve o sistema de compilação, linting, ferramentas de teste...

Comments

@iquabius
Copy link
Owner

iquabius commented Jan 25, 2019

Blocked: Babel doesn't support namespaces, and 'graphql-code-generator' uses them. See babel/babel#8244.

TypeScript With Babel: A Beautiful Marriage

TypeScript and Babel 7 (MS Blog)

Microsoft/TypeScript-Babel-Starter

{
  "scripts": {
    "build:babel": "rimraf dist-babel && npm run ws:babel -- ./src --out-dir dist-babel --extensions '.ts,.tsx'",
    "ws:babel": "../node_modules/@babel/cli/bin/babel.js"
  }
}
@iquabius iquabius added tooling O problema envolve o sistema de compilação, linting, ferramentas de teste... prio-low Tarefas de prioridade baixa que podem esperar labels Jan 25, 2019
@iquabius iquabius mentioned this issue Jan 25, 2019
2 tasks
@iquabius iquabius added the on-hold Tarefas que NÃO seram feitas até serem revisadas label Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold Tarefas que NÃO seram feitas até serem revisadas prio-low Tarefas de prioridade baixa que podem esperar tooling O problema envolve o sistema de compilação, linting, ferramentas de teste...
Projects
None yet
Development

No branches or pull requests

1 participant