packages/gen-idea-libs/libTemplate.xml (7 lines of code) (raw):

<component name="libraryTable"> <library name="%name%" type="kotlin.js"> <CLASSES> <root url="file://$PROJECT_DIR$/%classes%" /> </CLASSES> </library> </component>