diff options
-rw-r--r-- | BUILD.gn | 2 | ||||
-rw-r--r-- | rollup.config.js | 6 | ||||
-rw-r--r-- | tsconfig.json | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -198,8 +198,8 @@ run_node("bundle") { "js/runtime.ts", "js/types.ts", "js/util.ts", - "src/msg.fbs", "rollup.config.js", + "src/msg.fbs", "tsconfig.json", ] outputs = [ diff --git a/rollup.config.js b/rollup.config.js index eb7dc043d..5bf5018e1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -134,7 +134,11 @@ export default function makeConfig(commandOptions) { include: ["*.ts", `${__dirname}/**/*.ts`, `${process.cwd()}/**/*.ts`], // d.ts files are not bundled and by default like include, it only includes the cwd and below - exclude: ["*.d.ts", `${__dirname}/**/*.d.ts`, `${process.cwd()}/**/*.d.ts`] + exclude: [ + "*.d.ts", + `${__dirname}/**/*.d.ts`, + `${process.cwd()}/**/*.d.ts` + ] }), // Provides inlining of file contents for `js/assets.ts` diff --git a/tsconfig.json b/tsconfig.json index adc2b8bf3..dacdc2e2a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "allowUnreachableCode": false, "experimentalDecorators": true, "paths": { - "*": [ "*", "out/debug/*", "out/default/*", "out/release/*" ] + "*": ["*", "out/debug/*", "out/default/*", "out/release/*"] } }, "include": ["js/main.ts"], |