Skip to content

Require.Js does not use application.context properly #32

@jackchi

Description

@jackchi

In [PlayFramework 2.1] application.context in application.conf as such: application.context = "/jack"

I am unable to use both WebJars and RequireJS to resolve the correct path (e.g: http://localhost:9000/jack/...).

Require.js the file itself, loads with no problem, but its in the SBT (build.sbt or Build.scala) appDependencies where it is having problem resolving require.js . For example in this underscore WebJar, even if I exclude the transitive dependencies.

"org.webjars" % "underscorejs" % "1.5.2" exclude("org.webjars", "requirejs")

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