# UnifiedControl package root reference / v5.66.3

UnifiedWriter depends on the shared UnifiedControl Framework as a peer AMD package. UnifiedControl is not copied, vendored, or downloaded into the UnifiedWriter ZIP.

The development package root URL is:

```text
https://cdn.skylarkjs.com/itoolkits/developments/UnifiedControl/
```

Demo and Host integration code should treat this as the **package root URL**. Because RequireJS aliases point to AMD module folders, the actual RequireJS path for the `UnifiedControl` alias is derived by appending `/scripts`:

```javascript
var unifiedControlPackageRoot = 'https://cdn.skylarkjs.com/itoolkits/developments/UnifiedControl/';
require.config({
  paths: {
    'UnifiedControl': unifiedControlPackageRoot.replace(/\/+$/, '') + '/scripts',
    'UnifiedWriter': '<UnifiedWriter package root>/scripts'
  }
});
```

For demos, `?ucRoot=` and `window.UNIFIED_CONTROL_ROOT_URL` now accept the package root URL. A value that already ends with `/scripts` is still tolerated for compatibility, but the documented standard is the package root URL above.



## v5.66.3 UnifiedControl direct base Control import
UnifiedWriter still treats UnifiedControl as a peer package referenced by package root URL and does not copy it into the Writer ZIP. To avoid loading optional UnifiedControl Content/Designer modules during app boot, EditorControl imports the required base class from `UnifiedControl/controls/control` rather than `UnifiedControl/main`. Host/Demo RequireJS aliases remain the same: `UnifiedControl` points to `<UnifiedControl package root>/scripts` and `UnifiedWriter` points to `<UnifiedWriter package root>/scripts`.
