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.
25 lines
688 B
25 lines
688 B
const tinyComponentsWebpack = require('@tiny-components/webpack')
|
|
const riotRules = require('@tiny-components/webpack/rules/riot')
|
|
const path = require('path')
|
|
|
|
module.exports = tinyComponentsWebpack({
|
|
index: [
|
|
'./src/example.js'
|
|
],
|
|
styles: [
|
|
'./src/example.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, './**')
|
|
}
|
|
})
|