svelte/test/preprocess/samples/style-async/_config.js

9 lines
150 B

export default {
preprocess: {
style: ({ content }) => {
return Promise.resolve({
code: content.replace('$brand', 'purple')
});
}
}
};