https://kotlinlang.org logo
#javascript
Title
# javascript
p

Paul Dhaliwal

03/25/2023, 2:49 PM
Is it possible for a kotlin/js multi-project to output both “whole-program” and “per-module”? I would like to achieve the following:
module-core
-> whole program: single JS file that includes things like stdlib, kotlinx-serialization, etc…
module-a
, which depends on
module-core
-> “per-module”: single JS file for
module-a
, and an additional JS file for
module-core
, with the
module-a.js
file correctly depending on
module-core.js
(which itself includes stdlib, kotlinx-serialization etc…)
3 Views