svelte/test/preprocess/samples/markup/_config.js

10 lines
136 B

export default {
preprocess: {
markup: ({ content }) => {
return {
code: content.replace('__NAME__', 'world')
};
}
}
};