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.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							603 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							603 B
						
					
					
				| const tinyComponentsWebpack = require('@tiny-components/webpack')
 | |
| const riotRules = require('@tiny-components/webpack/rules/riot')
 | |
| const path = require('path')
 | |
| 
 | |
| module.exports = tinyComponentsWebpack({
 | |
|     example: [ './src/example/example.js' ],
 | |
|     styles: [ './src/example/styles.scss' ],   
 | |
| }, {
 | |
|     publicPath: '/example/',
 | |
|     destination: path.resolve(process.cwd(), 'example'),
 | |
|     rules: [ riotRules ],
 | |
|     svg: {
 | |
|         src: [
 | |
|             'node_modules/@tiny-components/plain-ui/src/icons/mono-icons/svg/*.svg'
 | |
|         ]
 | |
|     },
 | |
|     purge: {
 | |
|         src: path.join(__dirname, './**')
 | |
|     }
 | |
| })
 |