Skip to content

Commit eb247bc

Browse files
author
Angular Builds
committed
4de2eb54f build: bump Angular peer deps to 13.2.0-next
1 parent 543feb1 commit eb247bc

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "1.0.2",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#a75020373",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#a75020373",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#a75020373",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4de2eb54f",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#4de2eb54f",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#4de2eb54f",
1313
"@babel/core": "7.16.7",
1414
"@babel/generator": "7.16.8",
1515
"@babel/helper-annotate-as-pure": "7.16.7",
@@ -20,15 +20,15 @@
2020
"@babel/runtime": "7.16.7",
2121
"@babel/template": "7.16.7",
2222
"@discoveryjs/json-ext": "0.5.6",
23-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#a75020373",
23+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#4de2eb54f",
2424
"ansi-colors": "4.1.1",
2525
"babel-loader": "8.2.3",
2626
"babel-plugin-istanbul": "6.1.1",
2727
"browserslist": "^4.9.1",
2828
"cacache": "15.3.0",
2929
"circular-dependency-plugin": "5.2.2",
3030
"copy-webpack-plugin": "10.2.0",
31-
"core-js": "3.20.2",
31+
"core-js": "3.20.3",
3232
"critters": "0.0.16",
3333
"css-loader": "6.5.1",
3434
"esbuild-wasm": "0.14.11",
@@ -41,7 +41,7 @@
4141
"less-loader": "10.2.0",
4242
"license-webpack-plugin": "4.0.0",
4343
"loader-utils": "3.2.0",
44-
"mini-css-extract-plugin": "2.4.6",
44+
"mini-css-extract-plugin": "2.5.0",
4545
"minimatch": "3.0.4",
4646
"open": "8.4.0",
4747
"ora": "5.4.1",
@@ -52,9 +52,9 @@
5252
"postcss-loader": "6.2.1",
5353
"postcss-preset-env": "7.2.3",
5454
"regenerator-runtime": "0.13.9",
55-
"resolve-url-loader": "4.0.0",
55+
"resolve-url-loader": "5.0.0",
5656
"rxjs": "6.6.7",
57-
"sass": "1.47.0",
57+
"sass": "1.48.0",
5858
"sass-loader": "12.4.0",
5959
"semver": "7.3.5",
6060
"source-map-loader": "3.0.1",
@@ -69,17 +69,17 @@
6969
"webpack-dev-middleware": "5.3.0",
7070
"webpack-dev-server": "4.7.3",
7171
"webpack-merge": "5.8.0",
72-
"webpack-subresource-integrity": "5.0.0"
72+
"webpack-subresource-integrity": "5.1.0"
7373
},
7474
"optionalDependencies": {
7575
"esbuild": "0.14.11"
7676
},
7777
"peerDependencies": {
78-
"@angular/compiler-cli": "^13.0.0 || ^13.1.0-next",
79-
"@angular/localize": "^13.0.0 || ^13.1.0-next",
80-
"@angular/service-worker": "^13.0.0 || ^13.1.0-next",
78+
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
79+
"@angular/localize": "^13.0.0 || ^13.2.0-next",
80+
"@angular/service-worker": "^13.0.0 || ^13.2.0-next",
8181
"karma": "^6.3.0",
82-
"ng-packagr": "^13.0.0 || ^13.1.0-next",
82+
"ng-packagr": "^13.0.0 || ^13.2.0-next",
8383
"protractor": "^7.0.0",
8484
"tailwindcss": "^2.0.0 || ^3.0.0",
8585
"typescript": ">=4.4.3 <4.6"

src/webpack/configs/styles.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
2525
__setModuleDefault(result, mod);
2626
return result;
2727
};
28+
var __importDefault = (this && this.__importDefault) || function (mod) {
29+
return (mod && mod.__esModule) ? mod : { "default": mod };
30+
};
2831
Object.defineProperty(exports, "__esModule", { value: true });
2932
exports.getStylesConfig = void 0;
3033
const fs = __importStar(require("fs"));
34+
const mini_css_extract_plugin_1 = __importDefault(require("mini-css-extract-plugin"));
3135
const path = __importStar(require("path"));
3236
const sass_service_1 = require("../../sass/sass-service");
3337
const plugins_1 = require("../plugins");
@@ -70,7 +74,6 @@ function resolveGlobalStyles(styleEntrypoints, root, preserveSymlinks) {
7074
// eslint-disable-next-line max-lines-per-function
7175
function getStylesConfig(wco) {
7276
var _a, _b, _c;
73-
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
7477
const postcssImports = require('postcss-import');
7578
const postcssPresetEnv = require('postcss-preset-env');
7679
const { root, buildOptions } = wco;
@@ -188,7 +191,7 @@ function getStylesConfig(wco) {
188191
// for component css.
189192
!buildOptions.sourceMap.hidden);
190193
// extract global css from js files into own css file.
191-
extraPlugins.push(new MiniCssExtractPlugin({ filename: `[name]${hashFormat.extract}.css` }));
194+
extraPlugins.push(new mini_css_extract_plugin_1.default({ filename: `[name]${hashFormat.extract}.css` }));
192195
if (!buildOptions.hmr) {
193196
// don't remove `.js` files for `.css` when we are using HMR these contain HMR accept codes.
194197
// suppress empty .js files in css only entry points.
@@ -207,7 +210,7 @@ function getStylesConfig(wco) {
207210
];
208211
const globalStyleLoaders = [
209212
{
210-
loader: MiniCssExtractPlugin.loader,
213+
loader: mini_css_extract_plugin_1.default.loader,
211214
},
212215
{
213216
loader: require.resolve('css-loader'),

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sun Jan 16 2022 20:28:25 GMT+0000 (Coordinated Universal Time)
1+
Wed Jan 19 2022 06:52:20 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)