Skip to content

webpack usage #11

@bazo

Description

@bazo

hi,

i don't know if this lib is developed any more,but i would like to use it with webpack in browser. but i'm having a problem passing the configuration file to the Configuration or DIFactory factories as webpack complains that it cannot find module config.json. logically as it is not in node_modules

then i tried a little hack

configuration.data = configuration.parse(config); where config is js object - the config file. i cant pass in json as string because webpack needs to load and resolve everything

so i get this error Error: Found section services but there is no coresponding extension.

now i have no idea how to hack this further

do you have any ideas how to use di with webpack?

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