You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Docs are stating that TS version used by this plugin can be easily overridden giving this code snippet as an example:
import typescript from 'rollup-plugin-typescript';
import * as ts from 'typescript';
export default {
entry: 'main.ts',
plugins: [
typescript({
target: ts.ScriptTarget.ES6
sourceMap: true
})
]
}
Is importing import * as ts from 'typescript'; enough to override tsc version? If so, what kind of node black magic would be involved here? I've played with this locally and couldn't override TS version.
Is there are clever trick at play here or is the override option missing from the impl?
The text was updated successfully, but these errors were encountered:
Docs are stating that TS version used by this plugin can be easily overridden giving this code snippet as an example:
Is importing
import * as ts from 'typescript';
enough to override tsc version? If so, what kind of node black magic would be involved here? I've played with this locally and couldn't override TS version.Is there are clever trick at play here or is the override option missing from the impl?
The text was updated successfully, but these errors were encountered: