Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
501 B

const { build } = require('esbuild');
const path = require('path');
async function run() {
await build({
entryPoints: [path.join(__dirname, 'entry.js')],
outfile: path.join(__dirname, '..', 'src', 'codemirror.js'),
bundle: true,
format: 'iife',
platform: 'browser',
target: ['es2019'],
sourcemap: false,
minify: false,
legalComments: 'eof'
});
}
run().catch(error => {
console.error(error);
process.exit(1);
});