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()
appendReport()
appendProgressReporter()
appendCssSettings()
appendCssSupport()
appendErrorPlugin()
appendFromConfigDir()
appendEvaluatedFileReport()
@@ -259,7 +259,7 @@ data class KotlinWebpackConfig(
)
}
private fun Appendable.appendCssSettings() {
private fun Appendable.appendCssSupport() {
if (!cssSupport.enabled || cssSupport.rules.isEmpty())
return
@@ -424,7 +424,7 @@ data class KotlinWebpackConfig(
private fun cssError() {
throw IllegalStateException(
"""
Possible values for cssSettings.mode:
Possible values for cssSupport.mode:
- EXTRACT
- INLINE
- IMPORT