diff --git a/dist/package.json b/dist/package.json deleted file mode 100644 index 6a0d2ef..0000000 --- a/dist/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "commonjs" -} \ No newline at end of file diff --git a/package.json b/package.json index 9617b6b..626163e 100644 --- a/package.json +++ b/package.json @@ -27,20 +27,14 @@ "dist", "lib" ], - "main": "./dist/main.js", - "exports": { - "require": "./dist/main.js", - "import": "./lib/main.js" - }, + "main": "./lib/main.js", "types": "index.d.ts", "scripts": { "lint": "eslint .", "lint:fix": "eslint --fix .", "test": "tap --no-check-coverage", "test:snapshots:update": "tap --snapshot", - "bench": "node benchmark/benchmark.js", - "prepare": "npm run -s build", - "build": "rollup -c" + "bench": "node benchmark/benchmark.js" }, "devDependencies": { "@semantic-release/changelog": "6.0.1", @@ -55,7 +49,6 @@ "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-prettier": "4.0.0", - "rollup": "2.71.1", "@babel/eslint-parser": "7.17.0", "tap": "16.1.0", "prettier": "2.6.2", diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 189df58..0000000 --- a/rollup.config.js +++ /dev/null @@ -1,16 +0,0 @@ -export default { - input: 'lib/main.js', - external: [ - 'original-url', - 'camelcase', - 'url', - ], - output: [ - { - exports: 'auto', - format: 'cjs', - dir: 'dist/', - preserveModules: true, - } - ], -};