build-app-with 2.0.10 → 2.0.11

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.
@@ -1,15 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // Bundled CLI executable
4
+ import { createApp } from '../dist/build-app-with.mjs';
4
5
  import { createRequire } from 'module';
5
6
  const require = createRequire(import.meta.url);
6
- const { createApp } = require('../dist/build-app-with.cjs');
7
7
  import path from 'path';
8
8
  import fs from 'fs';
9
9
 
10
- // Import logger from bundled package for error handling
11
- const bundledExports = require('../dist/build-app-with.cjs');
12
- const logger = bundledExports.logger || { error: console.error, isDevelopment: false };
10
+ const logger = { error: console.error, isDevelopment: false };
13
11
 
14
12
  // Simple welcome message function
15
13
  function welcomeMessage() {