Skip to content

Commit fee03e3

Browse files
build fix
1 parent 42b5b16 commit fee03e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/archetype/ui.frontend.react/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@
5858
"react-universal-component": "^4.5.0"
5959
},
6060
"devDependencies": {
61-
#if ($isFormsSpa)
6261
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
6362
"@babel/plugin-proposal-optional-chaining": "7.10.4",
6463
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
65-
#end
6664
#if ( $enableSSR == "y")
6765
"cross-env": "^7.0.3",
6866
"@adobe/aio-cli": "^8.2.0",

src/main/resources/META-INF/archetype-post-generate.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ if ((includeFormsenrollment == "y" || includeFormscommunications == "y") && fron
259259
assert new File("$appsFolder/components/adaptiveForm/checkbox").deleteDir();
260260
assert new File("$appsFolder/components/adaptiveForm/termsandconditions").deleteDir();
261261
assert new File("$appsFolder/components/adaptiveForm/verticaltabs").deleteDir();
262+
} else {
263+
assert new File(rootDir, "ui.frontend.react/config-overrides.js").delete();
262264
}
263265

264266

0 commit comments

Comments
 (0)