@konomi-app/k2 0.1.3 → 0.1.4
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/commands/dev.js +3 -3
- package/package.json +2 -2
package/dist/commands/dev.js
CHANGED
|
@@ -13,11 +13,11 @@ export default function command() {
|
|
|
13
13
|
.action(action);
|
|
14
14
|
}
|
|
15
15
|
export async function action(options) {
|
|
16
|
-
const { outdir, port } = options;
|
|
16
|
+
const { certdir, outdir, port } = options;
|
|
17
17
|
console.group('🍳 Start development server');
|
|
18
18
|
try {
|
|
19
19
|
console.log(`📂 Output directory: ${outdir}`);
|
|
20
|
-
console.log(`🔑 Certificate directory: ${
|
|
20
|
+
console.log(`🔑 Certificate directory: ${certdir}`);
|
|
21
21
|
const srcDir = path.join('src', 'apps');
|
|
22
22
|
const dirs = fs.readdirSync(srcDir);
|
|
23
23
|
const entryPoints = dirs.reduce((acc, dir) => {
|
|
@@ -31,7 +31,7 @@ export async function action(options) {
|
|
|
31
31
|
await base({
|
|
32
32
|
port: Number(port),
|
|
33
33
|
entryPoints,
|
|
34
|
-
certDir:
|
|
34
|
+
certDir: certdir,
|
|
35
35
|
staticDir: outdir,
|
|
36
36
|
});
|
|
37
37
|
}
|
package/package.json
CHANGED