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
483 B
21 lines
483 B
const tinyComponentsWebpack = require('@tiny-components/webpack')
|
|
const path = require('path')
|
|
|
|
module.exports = tinyComponentsWebpack({
|
|
menu: [ './src/js/menu.js'],
|
|
styles: [ './src/scss/styles.scss' ],
|
|
}, {
|
|
destination: path.resolve(process.cwd(), 'templates'),
|
|
svg: {
|
|
src: [
|
|
'./resources/icons/*.svg'
|
|
]
|
|
},
|
|
purge: {
|
|
src: path.join(__dirname, './**'),
|
|
safelist: {
|
|
deep: [ /toast/ ]
|
|
}
|
|
}
|
|
})
|