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

9 lines
135 B

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