Alan Agius
52d14d7261
refactor(@angular-devkit/build-angular): remove config barrel file export
2021-02-02 15:21:39 +01:00
Renovate Bot
6dfd7272ed
build: update sass to version 1.32.6
2021-02-02 10:50:28 +01:00
Renovate Bot
2de17b5ce7
build: update rollup to version 2.38.4
2021-02-02 10:50:16 +01:00
Alan Agius
a5bf224527
refactor(@angular-devkit/build-angular): use ES6 imports instead of require
...
Main benefit is to use type definitions.
2021-02-02 07:46:32 +01:00
Renovate Bot
7513170459
build: update open to version 7.4.0
2021-02-01 15:11:29 +01:00
Renovate Bot
e262c1bae6
build: update rollup to version 2.38.3
2021-02-01 10:31:03 +01:00
Renovate Bot
aae0083b77
build: update less to version 4.1.1
2021-01-31 10:40:39 +01:00
Renovate Bot
8d5fcd42b4
build: update autoprefixer to version 10.2.4
2021-01-30 08:55:10 +01:00
Alan Agius
9d973d63f7
test(@angular-devkit/build-angular) use port 0 to fix flakey test
2021-01-29 23:47:17 +01:00
Renovate Bot
307362a8a7
build: update rollup to version 2.38.1
2021-01-29 12:34:12 +01:00
Renovate Bot
3159bbf27f
build: update mini-css-extract-plugin to version 1.3.5
2021-01-29 12:34:00 +01:00
Alan Agius
e02d737cb8
fix(@angular-devkit/build-angular): handle promise rejection in IndexHtmlWebpackPlugin
...
Webpack doesn't handle promise rejections properly. With this change use use a try/catch block and add the error to the compilation.
Closes #19893
2021-01-28 20:32:39 +01:00
Alan Agius
60b2cb7f10
fix(@angular-devkit/build-angular): add fallback for non defined stats options
...
A fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.
2021-01-28 20:32:17 +01:00
Matt Lewis
42e439f6fd
fix(@angular-devkit/build-angular): fix budgets for any script with differential loading enabled
...
Fixes #19849
2021-01-28 11:02:07 +01:00
Alan Agius
54f44bc49a
test(@angular-devkit/build-angular): move output-hashing test to new test harness
2021-01-28 09:35:31 +01:00
Alan Agius
a86ea3f154
fix(@angular-devkit/build-angular): allow emitting multiple files with the same filename
...
Previously when hashing of media was disabled, if 2 files had the same name. Only one files used to be emitted. With this change we change the behaviour so that both files are emitted.
Closes #12186
2021-01-28 09:35:31 +01:00
Alan Agius
36a28e5226
fix(@angular-devkit/build-angular): styles that are not injected do count for initial bundle size
...
Closes #17672
2021-01-28 09:35:12 +01:00
Charles Lyding
e2e8d57b38
feat(@angular-devkit/build-angular): support targeting ES2017 with Zone.js
...
This change causes native async functions to be downleveled when an application targets ES2017 within its TypeScript configuration. Any source file that contains the async keyword will be processed including libraries. Since Zone.js does not support native async, this processing allows Zone.js to function with an ES2017 target.
2021-01-26 09:26:23 -06:00
Renovate Bot
2f050fde34
build: update speed-measure-webpack-plugin to version 1.4.2
2021-01-26 09:20:17 -06:00
Renovate Bot
bf0c5b9e96
build: update rollup to version 2.38.0
2021-01-25 09:19:23 -06:00
Alan Agius
9af0942e69
fix(@angular-devkit/build-angular): inlining fonts behind proxy
...
With this change users can now their proxy server via the `HTTPS_PROXY` environment variable. The specified proxy will be used when making requests to inline fonts.
Closes #19401
2021-01-25 09:17:03 -06:00
Alan Agius
d0cc0cbda3
fix(@angular-devkit/build-angular): correctly handle scripts when using subresource-integrity option
...
Fixes #19829
2021-01-25 09:16:32 -06:00
Alan Agius
3db8c6e464
test(@angular-devkit/build-angular): change sri tests to use new test harness
2021-01-25 09:16:32 -06:00
Alan Agius
cc51432661
fix(@angular-devkit/build-angular): resolve less from build-angular package
2021-01-22 10:36:20 -08:00
Alan Agius
5711e691b9
fix(@angular-devkit/build-angular): resolve postcss from build-angular package
...
`postcss-loader` version 4.2.0 added an `implementation` option. Using the using will ensure that the correct postcss version is used.
More info: deac9787ee
Fixes #19839
2021-01-22 10:36:20 -08:00
Alan Agius
64aa5703fa
docs(@angular-devkit/build-angular): update vendorChunk and commonChunk descriptions
2021-01-20 10:30:28 -05:00
Charles Lyding
6b2a8e175e
refactor(@angular-devkit/build-angular): remove virtualfs host usage from browser/dev-server
...
The virtualfs Host was only used for exist and directory checks during asset and file replacement option normalization within the browser and dev-server builders.
2021-01-20 10:27:43 -05:00
Renovate Bot
2d7f268baf
build: update sass to version 1.32.5
2021-01-20 10:06:35 -05:00
Renovate Bot
6d81f65694
build: update autoprefixer to version 10.2.3
2021-01-20 10:02:02 -05:00
Renovate Bot
62865f7710
build: update ora to version 5.3.0
2021-01-20 10:00:36 -05:00
Charles Lyding
7b106dd963
refactor(@angular-devkit/build-angular): remove unneeded no-implicit-dependencies tslint comments
2021-01-19 15:06:29 -05:00
Charles Lyding
1d2908ad86
fix(@angular-devkit/build-angular): add service-worker as optional peer dependency
...
The `@angular/service-worker` package is used by the browser and app-shell builders.
By adding the package as an optional peer dependency, package managers can ensure that the package is available to import.
2021-01-19 15:06:29 -05:00
Renovate Bot
b3ccec1a26
build: update rollup to version 2.37.0
2021-01-19 10:28:43 -05:00
Renovate Bot
c8267d0e76
build: update core-js to version 3.8.3
2021-01-19 10:28:26 -05:00
Renovate Bot
b33bd06acd
build: update rollup to version 2.36.2
2021-01-18 20:09:55 -05:00
Renovate Bot
387c8abdd3
build: update stylus-loader to version 4.3.3
2021-01-18 14:30:14 -05:00
cexbrayat
748c1f8445
fix(@angular-devkit/build-angular): resolve i18n outFile with normalized format
...
IF someone uses the `extract-i18n` with the deprecated `--i18n-format` option,
then `options.format` is undefined and the `outFile` defaults to `messages.xlf`,
whereas the content will be using the proper format.
2021-01-15 13:32:13 -05:00
Alan Agius
e368b2f141
refactor(@angular-devkit/build-angular): move karma plugin in own folder
2021-01-15 13:31:48 -05:00
Renovate Bot
539e754c8d
build: update mini-css-extract-plugin to version 1.3.4
2021-01-14 10:02:13 -05:00
Renovate Bot
1413e7835a
build: update webpack-dev-server to version 3.11.2
2021-01-14 10:01:47 -05:00
Charles Lyding
2ce5445ed3
feat(@angular-devkit/build-angular): support karma version 6.x
...
This change adds support for using karma 6.x within a project.
2021-01-13 23:12:55 +01:00
Renovate Bot
e50c60b3b6
build: update sass-loader to version 10.1.1
2021-01-12 17:17:56 +01:00
Alan Agius
37d8e25af8
fix(@angular-devkit/build-angular): generate consistent filenames
...
With this change we generate consistent file names when using the browser builder in watch mode with differential loading.
Closes #15157
2021-01-12 17:06:17 +01:00
Charles Lyding
a78eaad91a
test(@angular-devkit/build-angular): add browser builder scripts longhand option tests
...
This change adds expanded unit tests for the browser builder's `scripts` longhand option using the builder test harness.
2021-01-12 09:34:49 +01:00
Charles Lyding
76b023e55e
feat(@angular-devkit/build-angular): update IE11 Object/Array polyfills
...
This change adds the following polyfills for IE11 (`nomodule` browsers):
ES2016:
Array.prototype.includes
ES2017:
Object.entries
Object.values
Object.getOwnPropertyDescriptors
ES2019:
Object.fromEntries
Array.prototype.flat
Array.prototype.flatMap
2021-01-12 09:30:23 +01:00
Renovate Bot
538bb187c5
build: update sass to version 1.32.4
2021-01-12 09:28:34 +01:00
Renovate Bot
874522cc18
build: update license-webpack-plugin to version 2.3.11
2021-01-12 09:28:01 +01:00
Alan Agius
a266f55b6c
test(@angular-devkit/build-angular): change extractLicenses
unit test to use build harness
...
This change adds a unit tests for the browser builder's extractLicenses option using the builder test harness.
2021-01-11 19:57:01 +01:00
Alan Agius
df897f0e41
docs: update Ivy NGCC link
2021-01-11 19:16:23 +01:00
Alan Agius
3e6a10219b
test(@angular-devkit/build-angular): change allowedCommonJsDependencies
unit test to use build harness
...
This change adds a unit tests for the browser builder's allowedCommonJsDependencies option using the builder test harness.
2021-01-11 19:15:57 +01:00