Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51cd528040 | ||
|
|
7128a44adc | ||
|
|
a46a3bb869 |
@@ -1,4 +1,4 @@
|
||||
const esbuild = require("esbuild");
|
||||
import esbuild from "esbuild";
|
||||
|
||||
const production = process.argv.includes('--production');
|
||||
const watch = process.argv.includes('--watch');
|
||||
@@ -9,7 +9,7 @@ async function main() {
|
||||
'src/index.ts'
|
||||
],
|
||||
bundle: true,
|
||||
format: 'cjs',
|
||||
format: 'esm',
|
||||
minify: production,
|
||||
sourcemap: !production,
|
||||
sourcesContent: false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "gh-scripting-compiler",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.4",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "node esbuild.js",
|
||||
|
||||
Reference in New Issue
Block a user