angular/packages/bazel/test/ng_package/example
Paul Gschwendtner e0667efa6e feat(bazel): allow for custom conditions to be set in ng_package targets (#43764)
The APF v13 `ng_package` rule will generate the `exports` field if not
set. Currently it allows for additional subpath entries to be configured
manually. The packager does not allow for custom conditions in subpath
exports which are auto-generated.

This is sometimes useful and necessary though. e.g. in Angular Material,
we also need to expose the index Sass file through a `sass` conditional
that the Webpack Sass loader will pick up. For this, the packager needs
to support manual additional conditions (as long as they do not
conflict).

PR Close #43764
2021-10-07 16:50:49 +00:00
..
a11y build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
imports build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
secondary build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
_index.scss feat(bazel): allow for custom conditions to be set in ng_package targets (#43764) 2021-10-07 16:50:49 +00:00
arbitrary-npm-package-main.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
BUILD.bazel feat(bazel): allow for custom conditions to be set in ng_package targets (#43764) 2021-10-07 16:50:49 +00:00
extra-styles.css build(bazel): add data attr to ng_package (#22919) 2018-03-23 13:16:07 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
logo.png fix(bazel): ng_package(data) should support non-text files (#32721) 2019-09-17 15:58:42 -07:00
mymodule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(bazel): allow for custom conditions to be set in ng_package targets (#43764) 2021-10-07 16:50:49 +00:00
some-file.txt feat(bazel): ng_package adds package.json props (#22499) 2018-02-28 13:29:56 -08:00