Skip to content

Commit

Permalink
feat: resolve tsx and jsx files (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru authored Dec 10, 2021
1 parent b0b09e0 commit 03d7056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export async function rollupBuild (ctx: BuildContext) {
}

export function getRollupOptions (ctx: BuildContext): RollupOptions {
const extensions = ['.ts', '.mjs', '.cjs', '.js', '.json']
const extensions = ['.ts', '.tsx', '.mjs', '.cjs', '.js', '.jsx', '.json']

return {
context: ctx.options.rootDir,
Expand Down

0 comments on commit 03d7056

Please sign in to comment.