@vixt/core 0.1.1 → 0.1.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/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -286,7 +286,8 @@ function generateTsConfig(options, vixt) {
|
|
|
286
286
|
for (const layer of vixt._layers) {
|
|
287
287
|
layersDirs.push(layer.cwd);
|
|
288
288
|
if (layer.meta?.alias) {
|
|
289
|
-
|
|
289
|
+
const layerRelativePath = `./${path.relative(path.resolve(rootDir, buildDir), layer.cwd)}/*`;
|
|
290
|
+
layersAlias[`${layer.meta.alias}/*`] = [layerRelativePath];
|
|
290
291
|
}
|
|
291
292
|
}
|
|
292
293
|
const tsConfig = defu(options.tsConfig, { compilerOptions: { paths: layersAlias }, include: layersDirs });
|