eu4-parser
Version:
Parser for Europa Universalis IV savegames
21 lines (19 loc) • 411 B
JavaScript
import { build } from 'esbuild';
await build({
entryPoints: ['src/index.js'],
outfile: 'dist/index.js',
format: 'esm',
bundle: true,
platform: "node",
external: ['fs'],
legalComments: 'inline'
});
await build({
entryPoints: ['src/index.js'],
outfile: 'dist/index.cjs',
format: 'cjs',
bundle: true,
platform: "node",
external: ['fs'],
legalComments: 'inline'
});