mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 05:43:42 +00:00 
			
		
		
		
	build: bundle file with .mjs extension
				
					
				
			This commit is contained in:
		
							parent
							
								
									6718687036
								
							
						
					
					
						commit
						a4b8a2501e
					
				@ -34,4 +34,4 @@ outputs:
 | 
			
		||||
    value: ${{ steps.process-inputs.outputs.build-dir }}
 | 
			
		||||
runs:
 | 
			
		||||
  using: node20
 | 
			
		||||
  main: dist/index.js
 | 
			
		||||
  main: dist/index.mjs
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										0
									
								
								dist/index.js → dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										0
									
								
								dist/index.js → dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -5,6 +5,7 @@ export default {
 | 
			
		||||
  input: "src/index.ts",
 | 
			
		||||
  output: {
 | 
			
		||||
    dir: "dist",
 | 
			
		||||
    entryFileNames: "[name].mjs",
 | 
			
		||||
  },
 | 
			
		||||
  plugins: [nodeResolve(), typescript()],
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user