Skip to content

Commit

Permalink
chore: update register example with preset
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Nov 28, 2020
1 parent bae386b commit 4596d9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/register/themekit.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ Api.registerFormat({
},
})

Api.registerPreset({
name: 'custom-preset',
transforms: ['custom-transform'],
})

module.exports = {
entry: {
default: './themes/default.theme.json',
},
output: {
css: {
transforms: ['custom-transform'],
preset: 'custom-preset',
buildPath: './themes',
files: [
{
Expand Down

0 comments on commit 4596d9d

Please sign in to comment.