From 16caa1173d99542803ff78a9793339a9e513f5bd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 26 Jul 2018 11:01:17 -0400 Subject: Run tools/format.py --- BUILD.gn | 2 +- rollup.config.js | 6 +++++- tsconfig.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 824c50533..2e743ea90 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 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"], -- cgit v1.2.3