mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
		
			
				
	
	
		
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| require('pkginfo')(module, 'version');
 | |
| import path from 'node:path';
 | |
| import { fileURLToPath } from 'node:url';
 | |
| const dirname = path.dirname(fileURLToPath(import.meta.url));
 | |
| const { version } = module.exports;
 | |
| 
 | |
| module.exports = {
 | |
|     publicFolder: path.join(dirname, 'build'),
 | |
|     version,
 | |
| };
 |