Alan Agius
11b1d9c2d1
fix(@angular-devkit/build-angular): inline critical font-face rules when using crittical css inlining
...
When critical font rules are not inlined it will cause blinking as during first render the fallback font will be rendered.
Related to https://github.com/angular/universal/issues/2002
2021-02-26 16:01:42 -05:00
Alan Agius
aa3ea885ed
feat(@angular-devkit/build-angular): enable inlineCritical by default
...
BREAKING CHANGE:
Critical CSS inlining is now enabled by default. If you wish to turn this off set `inlineCritical` to `false`.
See: https://angular.io/guide/workspace-config#optimization-configuration
2021-02-26 13:22:58 -05:00
Renovate Bot
cb32006bce
build: update mini-css-extract-plugin to version 1.3.9
2021-02-26 09:07:57 -05:00
Renovate Bot
02db14ae95
build: update rxjs to version 6.6.6
2021-02-25 13:59:51 -05:00
Alan Agius
7ef73c8524
fix(@angular-devkit/build-angular): only show index and service worker status once
...
Previously the `Index html generation complete` and `Service worker generation complete` where displayed multiple times when localization was enabled.
2021-02-24 18:17:20 +01:00
Renovate Bot
48badb16ed
build: update babel packages
2021-02-24 12:08:39 +01:00
Renovate Bot
42e3f8c846
build: update babel packages
2021-02-24 11:01:15 +01:00
Renovate Bot
a06fcb1d0d
build: update babel packages
2021-02-23 11:41:32 +01:00
Charles Lyding
9dc094fb94
test(@angular-devkit/build-angular): avoid loading dev typings in unit test
...
The `tsconfig` browser builder option unit test was unintentionally loading all development typings.
2021-02-22 20:01:04 +01:00
Alan Agius
2ef39498b0
fix(@angular-devkit/build-angular): disable declaration and declarationMap
...
When building an application or testing a library. TypeScript declarations are not needed.
Closes #20103
2021-02-22 16:55:44 +01:00
Charles Lyding
cbbb3d2d77
test(@angular-devkit/build-angular): add browser builder namedChunks option tests
...
This change adds expanded unit tests for the browser builder's `namedChunks` option using the builder test harness.
2021-02-22 12:52:01 +01:00
Alan Agius
5e2c45c8db
test(@angular-devkit/build-angular): change test to use await/async
2021-02-22 12:43:31 +01:00
Renovate Bot
28c2897edf
build: update license-webpack-plugin to version 2.3.14
2021-02-20 09:05:29 +01:00
Renovate Bot
1f8e3d3f3c
build: update sass to version 1.32.8
2021-02-19 13:03:06 +01:00
Renovate Bot
9f494fef6c
build: update babel packages
2021-02-19 10:37:30 +01:00
Renovate Bot
9a38c6584f
build: update mini-css-extract-plugin to version 1.3.8
2021-02-19 09:52:14 +01:00
Renovate Bot
448d003562
build: update core-js to version 3.9.0
2021-02-19 09:27:52 +01:00
Charles Lyding
d720d3db73
refactor(@angular-devkit/build-optimizer): improve transitional Webpack 5 compatibility
...
This change provides both Webpack 4 and 5 compatible types for the the build optimizer Webpack plugin.
2021-02-18 13:01:16 +01:00
Alan Agius
f309516bcd
refactor(@angular-devkit/build-angular): drop support for zone.js 0.10
...
BREAKING CHANGE:
Minimum supported `zone.js` version is `0.11.4`
2021-02-17 12:44:43 -06:00
Renovate Bot
c222fd0c11
build: update open to version 7.4.2
2021-02-17 12:43:49 -06:00
Renovate Bot
9f7828285b
build: update mini-css-extract-plugin to version 1.3.7
2021-02-16 14:12:00 -06:00
Renovate Bot
b2ef3c2330
build: update open to version 7.4.1
2021-02-15 14:49:19 -06:00
Renovate Bot
147fc3836c
build: update terser to version 5.6.0
2021-02-15 14:49:01 -06:00
Renovate Bot
5013170e66
build: update license-webpack-plugin to version 2.3.13
2021-02-15 14:48:24 -06:00
Charles Lyding
1f83f305db
feat(@angular-devkit/build-optimizer): support Webpack 5
...
The `@angular-devkit/build-optimizer` package now officially supports Webpack 5.
Webpack 4 support is temporarily maintained while the remainder of the tooling is transitioned.
2021-02-15 14:47:00 -06:00
Renovate Bot
e2d6df29e7
build: update webpack-dev-middleware to version 4.1.0
2021-02-15 14:46:21 -06:00
Alan Agius
1bbdbaf822
build: change angular packages local version to 0.0.0
...
The integration tests run in the framework repo use `0.0.0` as version and not a previously stated `0.0.0-PLACEHOLDER`
2021-02-12 08:34:00 -06:00
Renovate Bot
873da86c71
build: update license-webpack-plugin to version 2.3.12
2021-02-12 08:33:33 -06:00
Renovate Bot
450f3825ae
build: update critters to version 0.0.7
2021-02-12 08:32:15 -06:00
Renovate Bot
d26d5efe83
build: update postcss to version 8.2.6
2021-02-11 14:27:44 -05:00
Alan Agius
789c95949b
build: update angular and ng-packagr packages to version 12
2021-02-11 14:26:41 -05:00
Alan Agius
44e75be5b1
feat(@angular-devkit/build-angular): drop support for ng-packagr version 11
...
BREAKING CHANGE:
Minimum supported `ng-packagr` version is `12.0.0-next`
2021-02-11 14:26:41 -05:00
Alan Agius
fa5cf53b64
feat(@angular-devkit/build-angular): drop support for karma version 5.2
...
BREAKING CHANGE:
Minimum supported `karma` version is `6.0.0`
2021-02-11 14:26:41 -05:00
Renovate Bot
635c61507f
build: update typescript to version 4.1.5
2021-02-11 12:34:17 -05:00
Charles Lyding
40dc44b64b
refactor(@angular-devkit/build-angular): remove usage of Webpack Stats.ToJsonOutput type
...
The `Stats.ToJsonOutput` type is not present in the Webpack 5 typings. There was also a large amount of forced typing in the code to successfully compile.
Minimal Webpack JSON stat types are now used that represent the fields used by the tooling.
2021-02-11 12:33:47 -05:00
Charles Lyding
e871f87fa2
refactor(@angular-devkit/build-angular): remove use of Webpack RuleSetLoader type
...
The `RuleSetLoader` type is not exported from the Webpack 5 types.
2021-02-10 14:08:07 -05:00
Renovate Bot
6306872968
build: update typescript to version 4.1.4
2021-02-10 11:18:01 -05:00
Renovate Bot
328dafca61
build: update sass to version 1.32.7
2021-02-10 10:43:02 -05:00
Alan Agius
9337617723
feat(@angular-devkit/build-angular): add postcss-preset-env
with stage 3 features
...
With this change we add `postcss-preset-env` with stage 3 features. This stage includes support for:
- all property
- break properties
- custom properties
- font-variant property
- gap properties
- media query ranges
See https://preset-env.cssdb.org/features#stage-3
2021-02-09 10:30:42 -05:00
Alan Agius
fb2d7ee903
refactor(@angular-devkit/build-angular): remove experimental rollup pass
...
The experimental rollup pass has significant issues with the new Ivy webpack plugin. It also, didn't produce as well as we hoped in real world scenarios infact in many cases this caused build to fail.
REAKING CHANGE:
The experimental rollup pass `--experimental-rollup-pass` option has been removed.
Closes #15836
2021-02-09 08:50:00 -05:00
Renovate Bot
7b9415b00c
build: update css-loader to version 5.0.2
2021-02-09 08:43:34 -05:00
Alan Agius
088891b16e
refactor(@angular-devkit/build-angular): refactor NodeJsAsyncHost to use FS promises
2021-02-08 14:07:24 -05:00
Alan Agius
e79e7dd8d4
refactor(@angular-devkit/core): refactor NodeJsAsyncHost to use FS promises
2021-02-08 14:07:24 -05:00
Alan Agius
aedfcc1862
build: update to @types/node
version 12
2021-02-08 14:07:24 -05:00
Charles Lyding
fe90b766df
fix(@angular-devkit/build-angular): ensure i18n extraction sourcemaps are fully configured
...
Some Webpack loaders use loader context flags to control sourcemap generation. This fix ensures that Webpack will set the appropriate flags for loaders to leverage.
2021-02-08 13:01:00 -05:00
Bruno Baia
d64dc76d7e
docs: update ESLint migration link
2021-02-08 09:34:25 -05:00
Amadou Sall
1b5971a0bc
fix(@angular-devkit/build-angular): the root Tailwind configuration file is always picked
...
A configuration file in the project root should take precedence over one in the workspace root, but it's not currently the case.
2021-02-08 09:33:59 -05:00
S. Iftekhar Hossain
a7ffce10ee
fix(@angular-devkit/build-angular): fixed ignoring of karma plugins config
...
Previously `karma-coverage` was validated only when in karma plugins config one of these was added
``'karma-coverage'` or `require('karma-coverage')`
This change will allow cli to validate `karma-coverage` plugin if in `karma.conf.js` `'karma-*'` is used. Example:
```
plugins: [
...
'karma-*',
require('@angular-devkit/build-angular/plugins/karma'),
...
]
```
Fixes #19993
2021-02-08 09:30:00 -05:00
Charles Lyding
d1f616930d
build: set minimum Node.js version to 12.13
...
This change provides an improved performance baseline as well as access to newer Node.js APIs and Javascript language features which the Angular CLI will now be able to leverage.
BREAKING CHANGE:
Node.js version 10 will become EOL on 2021-04-30.
Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.
2021-02-08 09:23:46 -05:00
Renovate Bot
fa7eea9dc5
build: update postcss to version 8.2.5
2021-02-08 09:22:48 -05:00