@ng-prism/core 21.0.2 → 21.0.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.
|
@@ -8,7 +8,7 @@ async function createBuildBuilder(options, context) {
|
|
|
8
8
|
configFile: options.configFile ?? 'ng-prism.config.ts',
|
|
9
9
|
};
|
|
10
10
|
await runPrismPipeline(pipelineOptions, context, createPipelineState());
|
|
11
|
-
const run = await context.scheduleTarget({ project: options.prismProject, target: 'build', configuration: '' }, options.outputPath ? { outputPath: options.outputPath } : {});
|
|
11
|
+
const run = await context.scheduleTarget({ project: options.prismProject, target: 'build', configuration: '' }, options.outputPath ? { outputPath: { base: options.outputPath, browser: '' } } : {});
|
|
12
12
|
return run.result;
|
|
13
13
|
}
|
|
14
14
|
const builder = createBuilder(createBuildBuilder);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAIV,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAIV,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAqOtD,wBAAgB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAOvD"}
|
|
@@ -74,7 +74,10 @@ function addPrismAppProject(options) {
|
|
|
74
74
|
build: {
|
|
75
75
|
builder: '@angular-devkit/build-angular:application',
|
|
76
76
|
options: {
|
|
77
|
-
outputPath:
|
|
77
|
+
outputPath: {
|
|
78
|
+
base: `dist/${prismProjectName}`,
|
|
79
|
+
browser: '',
|
|
80
|
+
},
|
|
78
81
|
index: `${prismSrc}/index.html`,
|
|
79
82
|
browser: `${prismSrc}/main.ts`,
|
|
80
83
|
tsConfig: `${prismRoot}/tsconfig.app.json`,
|