Size: a a a

2020 January 16

i

iseki in Kotlin JS
Because the dependency: subroh0508.net.kotlinmaterialui:core:0.2.4 looks not supports 1.3.61emmm
источник

i

iseki in Kotlin JS
Maybe I should add DCE plugin for that... too big....
источник

AT

Alexey Tkachenko in Kotlin JS
if you're using kotlin-js plugin, do not try to use DCE plugin, they won't work together
источник

i

iseki in Kotlin JS
😳
источник

i

iseki in Kotlin JS
I use it now:     id("org.jetbrains.kotlin.js") version "1.3.60"
источник

AT

Alexey Tkachenko in Kotlin JS
and it works with DCE?
источник

i

iseki in Kotlin JS
No... I don't know...
источник

i

iseki in Kotlin JS
I don't know how to config...
источник

i

iseki in Kotlin JS
emmm
источник

i

iseki in Kotlin JS
Even I don't know how to config UglifyJS/GoogleClosureCompiler ...
источник

i

iseki in Kotlin JS
I don't know where is the official document...
источник

AT

Alexey Tkachenko in Kotlin JS
I recommend you trying 1.3.70-eap-42, DCE is fixed there
источник

i

iseki in Kotlin JS
Alexey Tkachenko
I recommend you trying 1.3.70-eap-42, DCE is fixed there
Thank you, I will try to switch version
источник

IG

Ilya Goncharov in Kotlin JS
You can try 1.3.70-eap-42, the first eap version for 1.3.70 which is integrated with dce
источник

i

iseki in Kotlin JS
I think... I am the problem..
How to switch React to production mode?😢 I'm a front-end newbie. Even can't use webpack standalone😢
источник

i

iseki in Kotlin JS
Thank you...😰
источник

i

iseki in Kotlin JS
Looks I need insert something to webpack.config.js ... But I don't know how to do that in build.gradle
источник

IG

Ilya Goncharov in Kotlin JS
You can create some *.js file in webpack.config.d folder, and write any js config to webpack
You can get configuration object via config variable in these scripts

But could you please say, what problem is? Do you have some problems in console?
источник

i

iseki in Kotlin JS
Sorry. The program works, but in dev mode...
источник

i

iseki in Kotlin JS
React extension alert me switch to product mode is best... And the bundle.js is really big...
источник