mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 03:32:36 +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:
@@ -89,7 +89,7 @@ function configure(pkg, env, target) {
|
|||||||
babel({
|
babel({
|
||||||
runtimeHelpers: true,
|
runtimeHelpers: true,
|
||||||
include: [`packages/${pkg.name}/src/**`],
|
include: [`packages/${pkg.name}/src/**`],
|
||||||
extensions: ['.js', '.ts'],
|
extensions: ['.js', '.ts', '.tsx'],
|
||||||
presets: [
|
presets: [
|
||||||
'@babel/preset-typescript',
|
'@babel/preset-typescript',
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user