summaryrefslogtreecommitdiff
path: root/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js
index 3dbe29260..d5574a7d5 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -139,11 +139,13 @@ export default function makeConfig(commandOptions) {
commonjs({
namedExports: {
// Static analysis of `typescript.js` does detect the exports properly, therefore
- // rollup requires them to be explicitly defined to avoid generating warnings
+ // rollup requires them to be explicitly defined to make them available in the
+ // bundle
[typescriptPath]: [
"createLanguageService",
"formatDiagnosticsWithColorAndContext",
"ModuleKind",
+ "ScriptKind",
"ScriptSnapshot",
"ScriptTarget",
"version"