Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless Offline does not compiles tsx files #285

Open
tmchedlishvili opened this issue Mar 27, 2023 · 0 comments
Open

Serverless Offline does not compiles tsx files #285

tmchedlishvili opened this issue Mar 27, 2023 · 0 comments

Comments

@tmchedlishvili
Copy link

tmchedlishvili commented Mar 27, 2023

Here is my tsConfig and my goal is to have compiled tsx files in a build.

`{
  "compilerOptions": {
    "pretty": true,
    "outDir": "./dist",
    "baseUrl": "./src",
    "sourceMap": true,
    "target": "es6",
    "module": "commonjs",
    "jsx": "react",
    "moduleResolution": "node",
    "skipLibCheck": true,
  },
  "include": ["src/**/*.ts","src/**/*.tsx"],
  "exclude": ["node_modules", "tests", ".vscode"]
}`

When I'm building project with tsc command it works fine and tsx files are compiled, but when it is built with [serverless-plugin-typescript) it misses tsx files

Any workeround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant