Closed knstvk closed 4 years ago
In order to build WAR with the new React frontend, one needs to set this ugly property:
task buildWar(type: CubaWarBuilding) { // ... polymerBuildDir = '../build' }
Let's create a new property, say frontBuildDir, set appropriate default for it, and deprecate polymerBuildDir.
frontBuildDir
polymerBuildDir
build
es6-unbundled
Environment
Description of the bug or enhancement
In order to build WAR with the new React frontend, one needs to set this ugly property:
Let's create a new property, say
frontBuildDir
, set appropriate default for it, and deprecatepolymerBuildDir
.Changes
frontBuildDir
property is introduced which is relative to front module root.frontBuildDir
defaults tobuild
(thus for React module no need to specify anything atm).polymerBuildDir
has been deprecated and default value (es6-unbundled
) has been removed.polymerBuildDir
takes precedence overfrontBuildDir
(since the latter has default value)