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:
@@ -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',
|
||||
[
|
||||
|
Reference in New Issue
Block a user