I can `kotlinext.js.require` a scss file in kotlin...
# javascript
r
I can
kotlinext.js.require
a scss file in kotlin/js code using relative path if it is placed under the
src/main/resources
, but the
processedResources
task simply copies everything under the resources folder, making the scss file to be public and included in distribution.Is there any guides to avoid this situation? Does kotlin/js support an
assets
folder (gets excluded from distribution) or a public folder (only files within it can be bundled)?
Currently my solution is: place all assets into
src/main/resources/assets
, so they can be referenced by Kotlin/JS code, but exclude them all in the final distribution.