@angular-devkit/build-angular 13.1.1 → 13.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "13.1.1",
3
+ "version": "13.1.2",
4
4
  "description": "Angular Webpack Build Facade",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
7
7
  "builders": "builders.json",
8
8
  "dependencies": {
9
9
  "@ampproject/remapping": "1.0.2",
10
- "@angular-devkit/architect": "0.1301.1",
11
- "@angular-devkit/build-webpack": "0.1301.1",
12
- "@angular-devkit/core": "13.1.1",
10
+ "@angular-devkit/architect": "0.1301.2",
11
+ "@angular-devkit/build-webpack": "0.1301.2",
12
+ "@angular-devkit/core": "13.1.2",
13
13
  "@babel/core": "7.16.0",
14
14
  "@babel/generator": "7.16.0",
15
15
  "@babel/helper-annotate-as-pure": "7.16.0",
@@ -20,7 +20,7 @@
20
20
  "@babel/runtime": "7.16.3",
21
21
  "@babel/template": "7.16.0",
22
22
  "@discoveryjs/json-ext": "0.5.6",
23
- "@ngtools/webpack": "13.1.1",
23
+ "@ngtools/webpack": "13.1.2",
24
24
  "ansi-colors": "4.1.1",
25
25
  "babel-loader": "8.2.3",
26
26
  "babel-plugin-istanbul": "6.1.1",
@@ -81,7 +81,7 @@
81
81
  "karma": "^6.3.0",
82
82
  "ng-packagr": "^13.0.0 || ^13.1.0-next",
83
83
  "protractor": "^7.0.0",
84
- "tailwindcss": "^2.0.0",
84
+ "tailwindcss": "^2.0.0 || ^3.0.0",
85
85
  "typescript": ">=4.4.3 <4.6"
86
86
  },
87
87
  "peerDependenciesMeta": {
@@ -340,17 +340,17 @@ function getStylesConfig(wco) {
340
340
  // Setup processing rules for global and component styles
341
341
  {
342
342
  oneOf: [
343
- // Component styles are all styles except defined global styles
344
- {
345
- use: componentStyleLoaders,
346
- resourceQuery: /\?ngResource/,
347
- type: 'asset/source',
348
- },
349
343
  // Global styles are only defined global styles
350
344
  {
351
345
  use: globalStyleLoaders,
346
+ include: globalStylePaths,
352
347
  resourceQuery: { not: [/\?ngResource/] },
353
348
  },
349
+ // Component styles are all styles except defined global styles
350
+ {
351
+ use: componentStyleLoaders,
352
+ type: 'asset/source',
353
+ },
354
354
  ],
355
355
  },
356
356
  { use },
@@ -116,6 +116,7 @@ function getCacheSettings(wco, angularVersion) {
116
116
  const packageVersion = require('../../../package.json').version;
117
117
  return {
118
118
  type: 'filesystem',
119
+ profile: wco.buildOptions.verbose,
119
120
  cacheDirectory: path.join(cacheDirectory, 'angular-webpack'),
120
121
  maxMemoryGenerations: 1,
121
122
  // We use the versions and build options as the cache name. The Webpack configurations are too