diff --git a/package.json b/package.json index 5b6afed1..f59ee5ca 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": "git://github.com/ianstormtaylor/superstruct.git", "type": "module", - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "sideEffects": false, diff --git a/rollup.config.js b/rollup.config.js index aeb0c858..3e56d302 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -11,7 +11,7 @@ export default defineConfig({ sourcemap: true, }, { - file: './dist/index.cjs', + file: './dist/index.js', format: 'umd', name: 'Superstruct', sourcemap: true,