Proposal: Add ability to use preprocessor in assets folderSee original GitHub issue
We currently can use preprocessor (sass and typescript) in our svelte component but this doesn’t apply to the
It could be nice to add this ability, probably a modification in
copyAssetsToPublic, by checking the file extension and apply the corresponding preprocess.
If it’s done, it could be nice to add some options to elder.config, in order to enable/disable this feature and to include/exclude some files; if we need the raw file in
public for whatever reason.
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
scss here is how we’re handling it:
// Layout.svelte <style lang="scss" global> @import '../styles/style.scss'; </style>
The next release of Elder.js will properly rebase images.
Then make sure you’ve got whatever dep Svelte Preprocess needs installed.