Skip to content

Commit 64fc1b2

Browse files
committed
feat: pass current CLI public lib path to webpack env
1 parent 8491b07 commit 64fc1b2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/services/webpack/webpack-compiler-service.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,15 @@ export class WebpackCompilerService
318318
Object.assign(
319319
envData,
320320
appPath && { appPath },
321-
appResourcesPath && { appResourcesPath }
321+
appResourcesPath && { appResourcesPath },
322+
{
323+
nativescriptLibPath: path.resolve(
324+
__dirname,
325+
"..",
326+
"..",
327+
"nativescript-cli-lib.js"
328+
),
329+
}
322330
);
323331

324332
envData.verbose = envData.verbose || this.$logger.isVerbose();

0 commit comments

Comments
 (0)