diff --git a/BUILD.gn b/BUILD.gn index 824c505335..2e743ea90b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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 eb7dc043d6..5bf5018e10 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 adc2b8bf37..dacdc2e2a0 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"],