diff --git a/package.json b/package.json index a68be4b..d6b3ce5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A library to convert Winamp AVS presets into Webvs JSON", "license": "MIT", "type": "module", - "exports": "./dist/webvsc.mjs", + "exports": "./dist/webvsc.js", "types": "./dist", "engines": { "node": ">=18" diff --git a/src/main.ts b/src/webvsc.ts similarity index 100% rename from src/main.ts rename to src/webvsc.ts diff --git a/tests/_helper.ts b/tests/_helper.ts index 079535f..6f46cba 100644 --- a/tests/_helper.ts +++ b/tests/_helper.ts @@ -1,5 +1,5 @@ import { basename, extname } from 'node:path'; -import { convertPreset } from '../src/main'; +import { convertPreset } from '../src/webvsc'; import { promises as fs, readFileSync, statSync } from 'node:fs'; const defaultArgs = { diff --git a/tsup.config.ts b/tsup.config.ts index c230f2f..6fc0f2f 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ clean: true, dts: true, entry: [ - 'src/main.ts' + 'src/webvsc.ts' ], external: [ 'log-symbols',