Skip to content

Commit

Permalink
Correct dist directories naming
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaong committed Jul 8, 2024
1 parent 9b21760 commit d41c3e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "7.0.0",
"description": "Tiny but powerful full-text search engine for browser and Node",
"main": "dist/umd/index.js",
"module": "dist/es5m/index.js",
"module": "dist/es6m/index.js",
"es2015": "dist/es/index.js",
"type": "module",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const benchmarks = {
export default process.env.BENCHMARKS === 'true' ? [benchmarks] : [
// Main (MiniSearch)
config({ format: 'es', input: 'src/index.ts', output: 'es6' }),
config({ format: 'es', input: 'src/index.ts', output: 'es5m', dir: 'es5m' }),
config({ format: 'es', input: 'src/index.ts', output: 'es6m', dir: 'es6m' }),
config({ format: 'cjs', input: 'src/index.ts', output: 'cjs', dir: 'cjs', extension: 'cjs', exports: 'default' }),
config({ format: 'umd', input: 'src/index.ts', output: 'umd', name: 'MiniSearch' }),

// SearchableMap
config({ format: 'es', input: 'src/SearchableMap/SearchableMap.ts', output: 'es6' }),
config({ format: 'es', input: 'src/SearchableMap/SearchableMap.ts', output: 'es5m', dir: 'es5m' }),
config({ format: 'es', input: 'src/SearchableMap/SearchableMap.ts', output: 'es6m', dir: 'es6m' }),
config({ format: 'cjs', input: 'src/SearchableMap/SearchableMap.ts', output: 'cjs', dir: 'cjs', extension: 'cjs', exports: 'default' }),
config({ format: 'umd', input: 'src/SearchableMap/SearchableMap.ts', output: 'umd', name: 'MiniSearch' }),

Expand Down

0 comments on commit d41c3e5

Please sign in to comment.