1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 10:29:48 +02:00

Enable processing of tsx files with babel in rollup.config.js (#3474)

It should fix https://github.com/ianstormtaylor/slate/issues/3471
This commit is contained in:
Kamil Mielnik
2020-02-21 08:58:55 +07:00
committed by GitHub
parent 9137a1663f
commit 378820602c

View File

@@ -89,7 +89,7 @@ function configure(pkg, env, target) {
babel({
runtimeHelpers: true,
include: [`packages/${pkg.name}/src/**`],
extensions: ['.js', '.ts'],
extensions: ['.js', '.ts', '.tsx'],
presets: [
'@babel/preset-typescript',
[