| Summary: | Minification should work on server installed through npm | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Node | Assignee: | Project Inbox <orion.server-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | 6.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
Another idea: publish the npm server as minified by default. We should also have a "built" directory where the minified resources are kept, rather than overwrite files in the server directory (as the minification script currently does). If a resource is not found in built, then we fall back to the other static script locations: 1. lib/built 2. lib/orionode.client 3. lib/orion.client (for the npm case) or ../../ (for the checked-out-repo case) |