Last active
December 25, 2022 03:55
-
-
Save dsebastien/ee1074928d46f55d0cdcee2d8badfc17 to your computer and use it in GitHub Desktop.
Svelte config that loads the postcss config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sveltePreprocess = require('svelte-preprocess'); | |
module.exports = { | |
// Consult https://github.com/sveltejs/svelte-preprocess | |
// for more information about preprocessors | |
preprocess: sveltePreprocess({ | |
// WARNING: Mandatory for the postcss config (postcss.config.js) and Tailwind to be loaded | |
postcss: {}, // <------ this is the important part :) | |
}), // can pass the options here using { }, but we use svelte.preprocess.config.js for that (gives us more context) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment