Skip to content

Commit

Permalink
fix: minify: deno support
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Aug 29, 2023
1 parent 4c8e993 commit 16b9f72
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions bin/minify.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
#!/usr/bin/env node

console.log('xxx');
import tryToCatch from 'try-to-catch';
import {createRequire} from 'node:module';

//import tryToCatch from 'try-to-catch';
//import {createRequire} from 'node:module';

console.log(tryToCatch);

process.exit();
import {processArgv} from '../lib/process-argv.js';
import {readStd} from '../lib/read-std.js';

console.log('xxx');
processArgv();
console.log('xxx');

const require = createRequire(import.meta.url);

Expand Down

0 comments on commit 16b9f72

Please sign in to comment.