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.

22 lines
531 B

2 months ago
const tinyComponentsWebpack = require('@tiny-components/webpack')
const riotRules = require('@tiny-components/webpack/rules/riot')
const path = require('path')
module.exports = tinyComponentsWebpack({
styles: [ './src/scss/styles.scss' ],
}, {
destination: path.resolve(process.cwd(), 'templates'),
svg: {
src: [
'./icons/*.svg'
]
},
rules: [ riotRules ],
purge: {
src: path.join(__dirname, './**'),
safelist: {
deep: [ /toast/ ]
}
}
})