@nx/rollup 19.6.1 → 19.6.3
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
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# Nx: Smart Monorepos · Fast CI
|
|
24
24
|
|
|
25
|
-
Nx is a build system
|
|
25
|
+
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
|
26
26
|
|
|
27
27
|
This package is a [Rollup plugin for Nx](https://nx.dev/nx-api/rollup).
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rollup",
|
|
3
|
-
"version": "19.6.
|
|
3
|
+
"version": "19.6.3",
|
|
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": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"rollup-plugin-postcss": "^4.0.2",
|
|
45
45
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
46
46
|
"tslib": "^2.3.0",
|
|
47
|
-
"@nx/devkit": "19.6.
|
|
48
|
-
"@nx/js": "19.6.
|
|
49
|
-
"@nrwl/rollup": "19.6.
|
|
47
|
+
"@nx/devkit": "19.6.3",
|
|
48
|
+
"@nx/js": "19.6.3",
|
|
49
|
+
"@nrwl/rollup": "19.6.3"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
@@ -147,6 +147,10 @@
|
|
|
147
147
|
"type": "boolean",
|
|
148
148
|
"description": "Prevents 'type' field from being added to compiled package.json file. Use this if you are having an issue with this field.",
|
|
149
149
|
"default": false
|
|
150
|
+
},
|
|
151
|
+
"sourceMap": {
|
|
152
|
+
"description": "Output sourcemaps.",
|
|
153
|
+
"type": "boolean"
|
|
150
154
|
}
|
|
151
155
|
},
|
|
152
156
|
"required": ["tsConfig", "main", "outputPath"],
|
|
@@ -68,6 +68,10 @@ export interface RollupWithNxPluginOptions {
|
|
|
68
68
|
* Prevents 'type' field from being added to compiled package.json file. Use this if you are having an issue with this field.
|
|
69
69
|
*/
|
|
70
70
|
skipTypeField?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Output sourcemaps.
|
|
73
|
+
*/
|
|
74
|
+
sourceMap?: boolean;
|
|
71
75
|
/**
|
|
72
76
|
* The path to tsconfig file.
|
|
73
77
|
*/
|
|
@@ -73,6 +73,7 @@ dependencies) {
|
|
|
73
73
|
// Cannot be joined with workspace root now, but will be handled by @nx/rollup/plugin.
|
|
74
74
|
options.outputPath
|
|
75
75
|
: (0, node_path_1.join)(devkit_1.workspaceRoot, options.outputPath),
|
|
76
|
+
sourcemap: options.sourceMap,
|
|
76
77
|
}));
|
|
77
78
|
}
|
|
78
79
|
let packageJson;
|