Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbrukman/using-preact

Using Preact with Bazel and Closure Compiler
https://github.com/mbrukman/using-preact

bazel closure-compiler preact

Last synced: 19 days ago
JSON representation

Using Preact with Bazel and Closure Compiler

Awesome Lists containing this project

README

        

# Using Preact

[![Build Status][using-preact-ci-badge]][using-preact-ci-url]

[using-preact-ci-badge]: https://github.com/mbrukman/using-preact/actions/workflows/main.yml/badge.svg?query=branch%3Amain
[using-preact-ci-url]: https://github.com/mbrukman/using-preact/actions/workflows/main.yml?query=branch%3Amain

How to build applications using [Preact][preact].

Work-in-progress:

* Preact + Bazel + Closure Compiler: see
[`third_party/preact-without-babel`](third_party/preact-without-babel/#readme);
note that updating `bazelbuild/rules_closure` dependency to v0.11.0 results in
[type errors][rules-nodejs-type-errors] due to [Closure Compiler not
supporting `@typedef` with `@template`][closure-compiler-typedef-templates]

## Contributing

See [`CONTRIBUTING.md`](CONTRIBUTING.md) for details.

## License

Apache 2.0; see [`LICENSE`](LICENSE) for details.

## Disclaimer

This project is not an official Google project. It is not supported by Google
and Google specifically disclaims all warranties as to its quality,
merchantability, or fitness for a particular purpose.

[preact]: https://preactjs.com/
[rules-nodejs-type-errors]: https://github.com/preactjs/preact/issues/758#issuecomment-683881172
[closure-compiler-typedef-templates]: https://github.com/google/closure-compiler/issues/890