rrrrutdk rrrrutdk
06/13/2023, 7:57 AMkotlinext.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)?rrrrutdk rrrrutdk
06/14/2023, 1:31 AMsrc/main/resources/assets
, so they can be referenced by Kotlin/JS code, but exclude them all in the final distribution.