1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/custom-server-typescript/.babelrc
Luke Barton cbfdcce32d Update typescript examples to use 1.0.1 of next-typescript (#4472)
* Update typescript examples to use 1.0.1 of next-typescript

* Add .babelrc modifications to upgraded typescript examples
2018-05-25 11:28:35 +02:00

14 lines
330 B
Plaintext

{
"env": {
"development": {
"presets": ["next/babel", "@zeit/next-typescript/babel"]
},
"production": {
"presets": ["next/babel", "@zeit/next-typescript/babel"]
},
"test": {
"presets": [["next/babel", { "preset-env": { "modules": "commonjs" } }], "@zeit/next-typescript/babel"]
}
}
}