Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3fa6555

Browse filesBrowse files
PackageToJS: Inherit swift package -c configuration by default
swiftwasm#309 introduced `-c` option to the plugin side in addition to the `swift package`'s one. However `swift package -c release js` was building with release config before 0.25.0 but it started to build with debug config as the default in 0.25.0. This change makes the plugin to respect the `swift package`'s one if `-c` is not specified after `js` plugin name
1 parent c0ddc7d commit 3fa6555
Copy full SHA for 3fa6555

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Plugins/PackageToJS/Sources/PackageToJSPlugin.swift‎

Copy file name to clipboardExpand all lines: Plugins/PackageToJS/Sources/PackageToJSPlugin.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ struct PackageToJSPlugin: CommandPlugin {
323323
}
324324
buildConfiguration = _buildConfiguration
325325
} else {
326-
buildConfiguration = .debug
326+
buildConfiguration = .inherit
327327
}
328328
var parameters = PackageManager.BuildParameters(
329329
configuration: buildConfiguration,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.