Skip to content

Replace "absolut" require paths with relative ones #23

@alexgutjahr

Description

@alexgutjahr

At the moment all require paths are absolute to the base URL '/src'.
If the build system allows it they should be replaced with relative URLs to the current module which would greatly improve readability.
Example:

// src/modules/reportr/reportrModule.js
define(['angular',
    'modules/reportr/revenueController',
    'modules/reportr/vacationController',
...
// can be replaced with
define(['angular',
    './revenueController',
    './vacationController',
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions