How to use kotlin frontend plugin with dce to get ...
# javascript
l
How to use kotlin frontend plugin with dce to get directory with "clean compiled site with html, css and all deps"? Should I enable dce in plugin? How?
b
cc @cy
c
frontend plugin self-configures itself once dce plugin is enabled
just follow general dce plugin instructions
l
Bundle task do not run dce. Should I use build task?
Build task runs dce, but it also generates jar without dce.
How could I add a resource like image?
c
Do you have dce plugin applied?
l
Yes, i have
apply plugin: 'kotlin-dce-js'
bundle
task do not run it
build
task do Is it OK?
c
you probably need to configure jar task to pack everything
No, it isn't: both should run
Which kotlin version do you use?
l
1.2.30
c
Does it make difference if you downgrade?