diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 11:01:17 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 11:38:03 -0400 |
commit | 16caa1173d99542803ff78a9793339a9e513f5bd (patch) | |
tree | 29766529bd3d59e5c9dd8e0b4ab7de04183511f2 | |
parent | 5562c36824a63634212ee0c6ad501f230a8e1133 (diff) |
Run tools/format.py
-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"], |