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.
		
		
		
		
		
			
		
			
				
					
					
						
							57 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
	
	
							57 lines
						
					
					
						
							1.0 KiB
						
					
					
				import json from 'rollup-plugin-json'
 | 
						|
import { terser } from 'rollup-plugin-terser'
 | 
						|
 | 
						|
export default [
 | 
						|
  {
 | 
						|
    input: 'min/index.js',
 | 
						|
    plugins: [
 | 
						|
      json(),
 | 
						|
      terser()
 | 
						|
    ],
 | 
						|
    output: {
 | 
						|
      format: 'umd',
 | 
						|
      name: 'libphonenumber',
 | 
						|
      file: 'bundle/libphonenumber-min.js',
 | 
						|
      sourcemap: true
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    input: 'mobile/index.js',
 | 
						|
    plugins: [
 | 
						|
      json(),
 | 
						|
      terser()
 | 
						|
    ],
 | 
						|
    output: {
 | 
						|
      format: 'umd',
 | 
						|
      name: 'libphonenumber',
 | 
						|
      file: 'bundle/libphonenumber-mobile.js',
 | 
						|
      sourcemap: true
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    input: 'max/index.js',
 | 
						|
    plugins: [
 | 
						|
      json(),
 | 
						|
      terser()
 | 
						|
    ],
 | 
						|
    output: {
 | 
						|
      format: 'umd',
 | 
						|
      name: 'libphonenumber',
 | 
						|
      file: 'bundle/libphonenumber-max.js',
 | 
						|
      sourcemap: true
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    input: 'index.es6',
 | 
						|
    plugins: [
 | 
						|
      json(),
 | 
						|
      terser()
 | 
						|
    ],
 | 
						|
    output: {
 | 
						|
      format: 'umd',
 | 
						|
      name: 'libphonenumber',
 | 
						|
      file: 'bundle/libphonenumber-js.min.js',
 | 
						|
      sourcemap: true
 | 
						|
    }
 | 
						|
  }
 | 
						|
] |