summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-26 11:01:17 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-26 11:38:03 -0400
commit16caa1173d99542803ff78a9793339a9e513f5bd (patch)
tree29766529bd3d59e5c9dd8e0b4ab7de04183511f2
parent5562c36824a63634212ee0c6ad501f230a8e1133 (diff)
Run tools/format.py
-rw-r--r--BUILD.gn2
-rw-r--r--rollup.config.js6
-rw-r--r--tsconfig.json2
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"],