[Gradle, JS] Single entry for webpack
This commit is contained in:
+1
-2
@@ -209,8 +209,7 @@ data class KotlinWebpackConfig(
|
|||||||
appendln(
|
appendln(
|
||||||
"""
|
"""
|
||||||
// entry
|
// entry
|
||||||
if (!config.entry) config.entry = [];
|
config.entry = ${entry.canonicalPath.jsQuoted()};
|
||||||
config.entry.push(${entry.canonicalPath.jsQuoted()});
|
|
||||||
config.output = {
|
config.output = {
|
||||||
path: ${outputPath.canonicalPath.jsQuoted()},
|
path: ${outputPath.canonicalPath.jsQuoted()},
|
||||||
filename: ${outputFileName!!.jsQuoted()}
|
filename: ${outputFileName!!.jsQuoted()}
|
||||||
|
|||||||
Reference in New Issue
Block a user