andylamax
12/23/2020, 7:47 AMsrc/main/kotlin
+ com.package.name
- main.kt
- test.kt
- people.kt
to be split into say
build/intermediate/js
+ com.package.name
- main.js
- test.js
- people.js
And then let webpack pickup from there?
What are the caveats?turansky
12/23/2020, 2:27 PMnpm
library emulation (by id)
2. Different libraries can use same packages
3. Simple shared sideeffect injection (in single file)andylamax
12/23/2020, 2:36 PMbuild/intermediate/js
+ module_A
+ com/package/name
- main.js
- test.js
- people.js
+ module_B
+ com/package/name
- main.js
- test.js
- people.js
3. I don't fully grasp what you mean thereturansky
12/23/2020, 2:38 PMOne npm library can have multiple filesYes, if this library located in
node_modules
🙂turansky
12/23/2020, 2:39 PMI don’t fully grasp what you mean there3. For example you want to add polyfill at library start
andylamax
12/23/2020, 2:44 PMturansky
12/23/2020, 2:59 PMandylamax
12/23/2020, 3:17 PM