We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a18a3d7 commit 23c4adfCopy full SHA for 23c4adf
packages/cli/generators/example/index.js
@@ -10,6 +10,7 @@ const chalk = require('chalk');
10
const downloadAndExtractExample = require('./downloader');
11
const path = require('path');
12
const utils = require('../../lib/utils');
13
+const fs = require('fs-extra');
14
15
const EXAMPLES = {
16
todo: 'Tutorial example on how to build an application with LoopBack 4.',
@@ -94,6 +95,10 @@ module.exports = class extends BaseGenerator {
94
95
const cwd = process.cwd();
96
const absOutDir = await downloadAndExtractExample(this.exampleName, cwd);
97
this.outDir = path.relative(cwd, absOutDir);
98
+ fs.rename(
99
+ `${this.outDir}/tsconfig.build.json`,
100
+ `${this.outDir}/tsconfig.json`,
101
+ );
102
}
103
104
install() {
0 commit comments