diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-09-06 07:05:14 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-06 11:04:56 -0400 |
commit | 1e709aa3486ff0700f45c78c07fa57e2c0fd1985 (patch) | |
tree | 52189ffd080258689e24ee335639bded48232f2a /rollup.config.js | |
parent | fcdfacc2de72e52b3f82dbce37746d371c3ad3ab (diff) |
Fix TypeScript exports in bundle
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 4 |
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" |