-
Notifications
You must be signed in to change notification settings - Fork 94
Can a ts_library depend on a .js file? #140
Comments
Currently the only way to get |
Ultimately, I suppose I'm trying to use I thought initially I could at least declare |
We do have bundling rules, but they are somewhat opinionated. The first-party support (in bazelbuild/angular repos) will choose a specific, well-paved toolchain that tries to support many use cases. I suggest you try that bundling approach before rolling your own. Did you see |
The I ended up also adding a If anyone is curious about the working project, see the BUILD.bazel file for the project. |
Good to hear! I'll certainly add more configurability for rollup and uglify, I'm just waiting to understand the use cases so we expose the minimal configuration affordances. For
Seems like your OP here is resolved, please open issues on rules_nodejs to add the configuration abilities you need. |
I have been using a hacky tsconfig.json to combine several
.ts
and.js
files. I'm not sure how to achieve the same result with Bazel TypeScript rules. Is it possible?The text was updated successfully, but these errors were encountered: