File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import PackageDescription
4
4
5
5
// NOTE: needed for embedded customizations, ideally this will not be necessary at all in the future, or can be replaced with traits
6
6
let shouldBuildForEmbedded = Context . environment [ " JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM " ] . flatMap ( Bool . init) ?? false
7
- let useLegacyResourceBundling = shouldBuildForEmbedded || ( Context . environment [ " JAVASCRIPTKIT_USE_LEGACY_RESOURCE_BUNDLING " ] . flatMap ( Bool . init) ?? false )
7
+ let useLegacyResourceBundling = Context . environment [ " JAVASCRIPTKIT_USE_LEGACY_RESOURCE_BUNDLING " ] . flatMap ( Bool . init) ?? false
8
8
9
9
let package = Package (
10
10
name: " JavaScriptKit " ,
@@ -19,8 +19,8 @@ let package = Package(
19
19
. target(
20
20
name: " JavaScriptKit " ,
21
21
dependencies: [ " _CJavaScriptKit " ] ,
22
- exclude: useLegacyResourceBundling ? [ " Runtime " ] : [ ] ,
23
- resources: useLegacyResourceBundling ? [ ] : [ . copy( " Runtime " ) ] ,
22
+ exclude: useLegacyResourceBundling ? [ ] : [ " Runtime " ] ,
23
+ resources: useLegacyResourceBundling ? [ . copy( " Runtime " ) ] : [ ] ,
24
24
cSettings: shouldBuildForEmbedded ? [
25
25
. unsafeFlags( [ " -fdeclspec " ] )
26
26
] : nil ,
You can’t perform that action at this time.
0 commit comments