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

Typescript doesn't seem to work. #13

Open
tiansin opened this issue Aug 22, 2018 · 4 comments
Open

Typescript doesn't seem to work. #13

tiansin opened this issue Aug 22, 2018 · 4 comments

Comments

@tiansin
Copy link

tiansin commented Aug 22, 2018

I want to use it to quickly compile the typescript source code. Without the test success, the plugin reported some function errors.

@alexgred
Copy link
Contributor

@tiansin сould you describe the problem? Which errors?
Maybe you need to configure your compiler. This extension just run compiler. Try play with settings in tsconfig.json and report about it.

@vhanla
Copy link

vhanla commented Nov 7, 2018

Same here. Status bar shows Typescript compiled in 993ms but there is no output result javascript file.
My config is:

"easycompile.compile": {
    "sass": false,
    "typescript": true
},
"easycompile.typescript": {
        "outdir": "./",
        "compress": false
    }

And I also added tsconfig.json it compile well with tsc command on terminal, but using this extension doesn't do anything other than showing the message in status bar I mentioned.

Where can I get information of which data is set in typescript json config? outdir and the others, I had to search for these on issues section here on Github. Any documentation about easycompile.typescript options?

BTW: I had to disable sass since VSCode fails to load the extension, always killing the Extension Host, I don't know if it is my current version installed or something else, since all extensions (in marketplace) for compiling Sass kills the Extension Host.

@refgd
Copy link
Owner

refgd commented Dec 21, 2019

you can try a simple file to test if work

test.ts

// outdir: ./
var t = {a:1}
console.log(t);

@lonix1
Copy link

lonix1 commented May 5, 2022

TypeScript output directory is not supported: https://github.com/refgd/easy-complie/blob/master/package.json#L106

There is no config option, so it cannot be set. Unfortunate.

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

5 participants