@storm-software/workspace-tools 1.181.1 → 1.182.0
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/index.js +6 -8
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +6 -8
package/package.json
CHANGED
|
@@ -202270,15 +202270,13 @@ async function createInput(options) {
|
|
|
202270
202270
|
);
|
|
202271
202271
|
options.additionalEntryPoints?.forEach((entry) => {
|
|
202272
202272
|
const entryPoint = correctPaths2((0, import_node_path13.join)(options.config.workspaceRoot, entry));
|
|
202273
|
-
|
|
202274
|
-
options.sourceRoot.replaceAll(
|
|
202275
|
-
|
|
202276
|
-
|
|
202273
|
+
const entryName = `.${entryPoint.replace(
|
|
202274
|
+
(0, import_node_path13.join)(options.config.workspaceRoot, options.sourceRoot).replaceAll(
|
|
202275
|
+
"\\",
|
|
202276
|
+
"/"
|
|
202277
|
+
),
|
|
202277
202278
|
""
|
|
202278
|
-
)
|
|
202279
|
-
if (entryName.startsWith("/")) {
|
|
202280
|
-
entryName = entryName.slice(1);
|
|
202281
|
-
}
|
|
202279
|
+
)}`;
|
|
202282
202280
|
input[entryName] = entryPoint;
|
|
202283
202281
|
});
|
|
202284
202282
|
return Object.keys(input).reduce((ret, key) => {
|