Created
August 2, 2020 17:33
-
-
Save skflowne/de8f1b9465b2e0163abd30e2c82ce7ce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
plugins: [ | |
svelte({ | |
// enable run-time checks when not in production | |
dev: !production, | |
// we'll extract any component CSS out into | |
// a separate file - better for performance | |
css: (css) => { | |
css.write("public/build/bundle.css") | |
}, | |
preprocess: sveltePreprocess({ | |
postcss: true, | |
scss: { | |
includePaths: ["src"], | |
postcss: { | |
plugins: [require("autoprefixer")], | |
}, | |
}, | |
}), | |
}), | |
// ...other plugins | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment