Skip to content

Commit

Permalink
Run tools/format.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 26, 2018
1 parent 5562c36 commit 16caa11
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 16caa11

Please sign in to comment.