@ngtools/webpack 13.3.3 → 14.0.0-next.10
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 +4 -4
- package/src/index.d.ts +0 -10
- package/src/index.js +1 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngtools/webpack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-next.10",
|
|
4
4
|
"description": "Webpack plugin that AoT compiles your Angular components and modules.",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@angular/compiler-cli": "^
|
|
30
|
-
"typescript": "
|
|
29
|
+
"@angular/compiler-cli": "^14.0.0 || ^14.0.0-next",
|
|
30
|
+
"typescript": "~4.6.2",
|
|
31
31
|
"webpack": "^5.30.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": "^
|
|
34
|
+
"node": "^14.15.0 || >=16.10.0",
|
|
35
35
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
36
36
|
"yarn": ">= 1.13.0"
|
|
37
37
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -5,14 +5,4 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import * as ivyInternal from './ivy';
|
|
9
8
|
export { AngularWebpackLoaderPath, AngularWebpackPlugin, AngularWebpackPluginOptions, default, } from './ivy';
|
|
10
|
-
/** @deprecated Deprecated as of v12, please use the direct exports
|
|
11
|
-
* (`AngularWebpackPlugin` instead of `ivy.AngularWebpackPlugin`)
|
|
12
|
-
*/
|
|
13
|
-
export declare namespace ivy {
|
|
14
|
-
const AngularWebpackLoaderPath: string;
|
|
15
|
-
const AngularWebpackPlugin: typeof ivyInternal.AngularWebpackPlugin;
|
|
16
|
-
type AngularWebpackPlugin = ivyInternal.AngularWebpackPlugin;
|
|
17
|
-
type AngularPluginOptions = ivyInternal.AngularWebpackPluginOptions;
|
|
18
|
-
}
|
package/src/index.js
CHANGED
|
@@ -6,45 +6,12 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
-
}) : function(o, v) {
|
|
23
|
-
o["default"] = v;
|
|
24
|
-
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
-
if (mod && mod.__esModule) return mod;
|
|
27
|
-
var result = {};
|
|
28
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
-
__setModuleDefault(result, mod);
|
|
30
|
-
return result;
|
|
31
|
-
};
|
|
32
9
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
11
|
};
|
|
35
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
const ivyInternal = __importStar(require("./ivy"));
|
|
13
|
+
exports.default = exports.AngularWebpackPlugin = exports.AngularWebpackLoaderPath = void 0;
|
|
38
14
|
var ivy_1 = require("./ivy");
|
|
39
15
|
Object.defineProperty(exports, "AngularWebpackLoaderPath", { enumerable: true, get: function () { return ivy_1.AngularWebpackLoaderPath; } });
|
|
40
16
|
Object.defineProperty(exports, "AngularWebpackPlugin", { enumerable: true, get: function () { return ivy_1.AngularWebpackPlugin; } });
|
|
41
17
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(ivy_1).default; } });
|
|
42
|
-
/** @deprecated Deprecated as of v12, please use the direct exports
|
|
43
|
-
* (`AngularWebpackPlugin` instead of `ivy.AngularWebpackPlugin`)
|
|
44
|
-
*/
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
46
|
-
var ivy;
|
|
47
|
-
(function (ivy) {
|
|
48
|
-
ivy.AngularWebpackLoaderPath = ivyInternal.AngularWebpackLoaderPath;
|
|
49
|
-
ivy.AngularWebpackPlugin = ivyInternal.AngularWebpackPlugin;
|
|
50
|
-
})(ivy = exports.ivy || (exports.ivy = {}));
|