817 Commits

Author SHA1 Message Date
Alan Agius
0659cf09e3 fix(@angular-devkit/build-angular): add externalDependencies to server builders
Certain node packages depend on native bindings which cannot be bundled, with this fix we add a way to exclude these from being processed by the bundler.

Closes: #16348
2019-12-05 18:53:08 -08:00
Alan Agius
0a7ace3595 fix(@angular-devkit/build-angular): allow bundleDependencies to be a boolean 2019-12-05 18:53:08 -08:00
Alan Agius
4f19e36dc9 refactor: deprecated unused server builder options 2019-12-05 18:52:27 -08:00
Renovate Bot
d71eea1aed build: update @angular/animations to version 9.0.0-rc.5 2019-12-05 18:51:22 -08:00
Renovate Bot
8270c8539a build: update caniuse-lite to version 1.0.30001015 2019-12-04 08:23:25 -08:00
Charles Lyding
c37eaeec43 fix(@angular-devkit/build-angular): augment base HREF when localizing
All locale i18n options now support an object form which allows a base HREF to be defined for the locale.  Each locale can now optionally define a custom base HREF that will be combined with the base HREF defined for the build configuration.  By default if the shorthand form for the locale is used or the field is not present in the longhand form, the locale code will be used as the base HREF.  To disable automatic augmentation a base HREF value of an empty string (`""`) can be used.  This will prevent anything from being added to the existing base HREF.

For common scenarios, the shorthand form will result in the preferred and recommended outcome of each built locale variant of the application containing a defined base HREF  containing the locale code.
2019-12-04 08:14:16 -08:00
Renovate Bot
3df09bcd8f build: update core-js to version 3.4.7 2019-12-03 12:35:23 -08:00
Renovate Bot
9bec2d9aee build: update autoprefixer to version 9.7.3 2019-12-02 12:51:10 -08:00
Filipe Silva
3079b06bd0 test: re-enable ivy aot rebuild test 2019-12-02 12:50:14 -08:00
Filipe Silva
8f35cdddc8 build: use material 9.0.0-rc.4 2019-12-02 12:50:14 -08:00
Charles Lyding
1d79b28c17 fix(@angular-devkit/build-angular): support differential loading for web workers
Fixes #16275
2019-12-02 10:19:38 -08:00
Charles Lyding
09a7d87f00 fix(@angular-devkit/build-angular): ensure HTML lang attribute is set when localizing 2019-12-02 10:17:57 -08:00
Alan Agius
d155c7c804 fix(@angular-devkit/build-webpack): allow runWebpackDevServer to accept a webpackDevServerFactory 2019-12-02 10:16:08 -08:00
Alan Agius
2960a71807 fix(@angular-devkit/build-angular): pass webpack factor to runWebpackDevServer 2019-12-02 10:16:08 -08:00
Renovate Bot
0ea43cc5a1 build: update @angular/animations to version 9.0.0-rc.4 2019-12-02 10:15:15 -08:00
Renovate Bot
cb8f72a934 build: update style-loader to version 1.0.1 2019-12-02 10:13:45 -08:00
Renovate Bot
de69cd4286 build: update browserslist to version 4.8.0 2019-12-02 10:13:34 -08:00
Renovate Bot
32a76982b4 build: update rollup to version 1.27.8 2019-12-02 10:13:15 -08:00
Renovate Bot
393ea955a8 build: update caniuse-lite to version 1.0.30001013 2019-12-02 10:11:13 -08:00
Renovate Bot
eb3c239659 build: update terser to version 4.4.2 2019-12-02 09:39:18 -08:00
Renovate Bot
a956cea867 build: update file-loader to version 5.0.2 2019-11-27 13:43:25 -08:00
Renovate Bot
8e6c4ac297 build: update raw-loader to version 4.0.0 2019-11-26 13:12:38 -08:00
Renovate Bot
f696c72450 build: update caniuse-lite to version 1.0.30001012 2019-11-26 13:11:41 -08:00
Renovate Bot
4f62105164 build: update @babel/core to version 7.7.4 2019-11-26 13:10:54 -08:00
Renovate Bot
37763ed4a3 build: update rollup to version 1.27.5 2019-11-26 13:09:46 -08:00
Renovate Bot
3b00104249 build: update core-js to version 3.4.3 2019-11-26 13:09:13 -08:00
Charles Lyding
ef7748524c fix(@angular-devkit/build-angular): make i18n translation files relative to workspace
All other paths within the workspace file are relative to the workspace root.
2019-11-26 13:08:29 -08:00
Alan Agius
02c50fbd6a refactor(@angular-devkit/build-angular): deprecate karma environment option
This option is unused and has no effect
2019-11-26 13:07:42 -08:00
Alan Agius
07801363a6 fix(@angular-devkit/build-angular): add pattern validations for browserTarget and serverTarget 2019-11-26 13:07:13 -08:00
Charles Lyding
3d5a5a97a4 fix(@angular-devkit/build-angular): enable dynamic import parsing with serve localization
Fixes #16248
2019-11-26 13:05:30 -08:00
Charles Lyding
adb4139b80 fix(@angular-devkit/build-angular): cache localize results with development server 2019-11-26 13:05:30 -08:00
FDIM
2c0efd834b fix(@angular-devkit/build-angular): mocked context in single test transform matches webpack API 2019-11-23 10:35:45 +02:00
Greg Magolan
a4200a0f04 refactor(@angular-devkit/build-angular): allow @angular/core version 0.0.0
Allow version "0.0.0" for integration testing in the angular/angular repository with the generated development @angular/core npm package which is versioned "0.0.0".
This is a pre-req for https://github.com/angular/angular/pull/33927 which runs integration tests against the bazel generated npm packages.
2019-11-22 22:36:31 +01:00
Renovate Bot
486b37063d build: update rollup to version 1.27.3 2019-11-21 14:06:38 -08:00
Vikram Subramanian
0478ec3ed8 build: update @angular version to 9.0.0-rc.3 2019-11-20 17:31:19 -08:00
Charles Lyding
cfc0aa4780 fix(@angular-devkit/build-angular): properly process es2016+ targets with differential loading
A target of es2015 was previously assumed when using differential loading.  This could result in erroneously downleveling an es2016+ output file instead of generating a new es5 output file.
2019-11-20 13:21:58 -08:00
Renovate Bot
89e0b97cd8 build: update caniuse-lite to version 1.0.30001011 2019-11-20 08:58:16 -08:00
Renovate Bot
a052f9ffdf build: update sass to version 1.23.7 2019-11-20 08:51:46 -08:00
Igor Minar
17792c46b3 fix(@angular-devkit/build-angular): update link to update.angular.io
This link is rarely seen by developers but when they do see it, they should get the real one.
2019-11-20 08:51:21 -08:00
Renovate Bot
924704c487 build: update postcss to version 7.0.23 2019-11-19 11:41:23 -08:00
Filipe Silva
bf39e74e7f fix(@ngtools/webpack): fix rebuilds for transitive and global type deps
Fix #15856
2019-11-19 11:40:58 -08:00
Renovate Bot
c5732f841e build: update autoprefixer to version 9.7.2 2019-11-19 11:37:43 -08:00
Renovate Bot
664f963e15 build: update browserslist to version 4.7.3 2019-11-19 11:37:33 -08:00
Renovate Bot
bf2e58cfda build: update rollup to version 1.27.2 2019-11-18 11:02:06 -08:00
Charles Lyding
d8438f7ad1 fix(@angular-devkit/build-angular): prevent webpack from adding suffixes to polyfills files
The ES5 polyfills file was erroneously being suffixed with `es2015`.  The webpack configuration does not support conditional customization per chunk for the output filenames (`chunkFilename` option schema only supports string values).  This change adds an additional small webpack plugin that allows the chunk filenames to be adjusted based on the chunk name.  The plugin is only added when differential loading is enabled as this is the only time that a chunk currently requires its filename to be adjusted.

Closes #15915
2019-11-18 10:55:53 -08:00
Renovate Bot
2f451673e5 build: update sass to version 1.23.6 2019-11-18 10:55:40 -08:00
Charles Lyding
798790622d fix(@angular-devkit/build-angular): allow new i18n options to work with VE 2019-11-18 10:54:35 -08:00
Renovate Bot
e095e683c6 build: update @angular/animations to version 9.0.0-rc.2 2019-11-18 10:09:44 -08:00
Charles Lyding
04cb2ac17b fix(@angular-devkit/build-angular): support global locale data with development server 2019-11-15 10:42:18 -08:00
Charles Lyding
9c682b7c04 refactor(@angular-devkit/build-angular): re-enable multi-localize support 2019-11-15 10:42:18 -08:00