You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					19 lines
				
				809 B
			
		
		
			
		
	
	
					19 lines
				
				809 B
			| 
											3 years ago
										 | // ESM Exports
 | ||
|  | // ===========
 | ||
|  | // This module is the package entry point for ES module users. In other words,
 | ||
|  | // it is the module they are interfacing with when they import from the whole
 | ||
|  | // package instead of from a submodule, like this:
 | ||
|  | //
 | ||
|  | // ```js
 | ||
|  | // import { map } from 'underscore';
 | ||
|  | // ```
 | ||
|  | //
 | ||
|  | // The difference with `./index-default`, which is the package entry point for
 | ||
|  | // CommonJS, AMD and UMD users, is purely technical. In ES modules, named and
 | ||
|  | // default exports are considered to be siblings, so when you have a default
 | ||
|  | // export, its properties are not automatically available as named exports. For
 | ||
|  | // this reason, we re-export the named exports in addition to providing the same
 | ||
|  | // default export as in `./index-default`.
 | ||
|  | export { default } from './index-default.js'; | ||
|  | export * from './index.js'; |