@nx/rollup 16.8.1 → 16.9.0-beta.1
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/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[]()
|
|
9
9
|
[](http://commitizen.github.io/cz-cli/)
|
|
10
10
|
[](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
11
|
-
[](https://go.nx.dev/community)
|
|
12
12
|
|
|
13
13
|
</div>
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rollup",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.9.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Rollup contains executors and generators that support building applications using Rollup.",
|
|
6
6
|
"repository": {
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"migrations": "./migrations.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nrwl/rollup": "16.
|
|
33
|
-
"@nx/devkit": "16.
|
|
34
|
-
"@nx/js": "16.
|
|
32
|
+
"@nrwl/rollup": "16.9.0-beta.1",
|
|
33
|
+
"@nx/devkit": "16.9.0-beta.1",
|
|
34
|
+
"@nx/js": "16.9.0-beta.1",
|
|
35
35
|
"@rollup/plugin-babel": "^5.3.0",
|
|
36
36
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
37
37
|
"@rollup/plugin-image": "^2.1.0",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"type": "commonjs",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "5056d6cefb2949ba865019e8b71e633fba28c091"
|
|
58
58
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.normalizeAssets = exports.normalizePluginPath = exports.normalizeRollupExecutorOptions = void 0;
|
|
4
4
|
const path_1 = require("path");
|
|
5
|
-
const fast_glob_1 = require("fast-glob");
|
|
6
5
|
const fs_1 = require("fs");
|
|
7
6
|
const devkit_1 = require("@nx/devkit");
|
|
7
|
+
const js_1 = require("@nx/js");
|
|
8
8
|
function normalizeRollupExecutorOptions(options, context, sourceRoot) {
|
|
9
9
|
const { root } = context;
|
|
10
10
|
const main = `${root}/${options.main}`;
|
|
@@ -34,7 +34,7 @@ function normalizeRollupExecutorOptions(options, context, sourceRoot) {
|
|
|
34
34
|
projectRoot,
|
|
35
35
|
outputPath,
|
|
36
36
|
skipTypeCheck: options.skipTypeCheck || false,
|
|
37
|
-
additionalEntryPoints: createEntryPoints(options, context),
|
|
37
|
+
additionalEntryPoints: (0, js_1.createEntryPoints)(options.additionalEntryPoints, context.root),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.normalizeRollupExecutorOptions = normalizeRollupExecutorOptions;
|
|
@@ -87,10 +87,3 @@ function normalizeAssets(assets, root, sourceRoot) {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
exports.normalizeAssets = normalizeAssets;
|
|
90
|
-
function createEntryPoints(options, context) {
|
|
91
|
-
if (!options.additionalEntryPoints?.length)
|
|
92
|
-
return [];
|
|
93
|
-
return (0, fast_glob_1.sync)(options.additionalEntryPoints, {
|
|
94
|
-
cwd: context.root,
|
|
95
|
-
});
|
|
96
|
-
}
|