Skip to content

Commit a380629

Browse files
committed
Remove redundant versions of distribution files and simplify build
1 parent 30643ae commit a380629

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "7.0.0",
44
"description": "Tiny but powerful full-text search engine for browser and Node",
55
"main": "dist/umd/index.js",
6-
"module": "dist/es6m/index.js",
6+
"module": "dist/es/index.js",
77
"es2015": "dist/es/index.js",
88
"type": "module",
99
"exports": {

rollup.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,11 @@ const benchmarks = {
4444
export default process.env.BENCHMARKS === 'true' ? [benchmarks] : [
4545
// Main (MiniSearch)
4646
config({ format: 'es', input: 'src/index.ts', output: 'es6' }),
47-
config({ format: 'es', input: 'src/index.ts', output: 'es6m', dir: 'es6m' }),
4847
config({ format: 'cjs', input: 'src/index.ts', output: 'cjs', dir: 'cjs', extension: 'cjs', exports: 'default' }),
4948
config({ format: 'umd', input: 'src/index.ts', output: 'umd', name: 'MiniSearch' }),
5049

5150
// SearchableMap
5251
config({ format: 'es', input: 'src/SearchableMap/SearchableMap.ts', output: 'es6' }),
53-
config({ format: 'es', input: 'src/SearchableMap/SearchableMap.ts', output: 'es6m', dir: 'es6m' }),
5452
config({ format: 'cjs', input: 'src/SearchableMap/SearchableMap.ts', output: 'cjs', dir: 'cjs', extension: 'cjs', exports: 'default' }),
5553
config({ format: 'umd', input: 'src/SearchableMap/SearchableMap.ts', output: 'umd', name: 'MiniSearch' }),
5654

0 commit comments

Comments
 (0)