cssSettings -> cssSupport

This commit is contained in:
Ilya Goncharov
2020-06-22 22:09:44 +03:00
parent 538cf8af56
commit 793ada08a9
@@ -130,7 +130,7 @@ data class KotlinWebpackConfig(
appendDevServer() appendDevServer()
appendReport() appendReport()
appendProgressReporter() appendProgressReporter()
appendCssSettings() appendCssSupport()
appendErrorPlugin() appendErrorPlugin()
appendFromConfigDir() appendFromConfigDir()
appendEvaluatedFileReport() appendEvaluatedFileReport()
@@ -259,7 +259,7 @@ data class KotlinWebpackConfig(
) )
} }
private fun Appendable.appendCssSettings() { private fun Appendable.appendCssSupport() {
if (!cssSupport.enabled || cssSupport.rules.isEmpty()) if (!cssSupport.enabled || cssSupport.rules.isEmpty())
return return
@@ -424,7 +424,7 @@ data class KotlinWebpackConfig(
private fun cssError() { private fun cssError() {
throw IllegalStateException( throw IllegalStateException(
""" """
Possible values for cssSettings.mode: Possible values for cssSupport.mode:
- EXTRACT - EXTRACT
- INLINE - INLINE
- IMPORT - IMPORT