dojo / cli-build-app

Command for building Dojo applications
Other
9 stars 32 forks source link

Base path requires a trailing slash #306

Closed rorticus closed 4 years ago

rorticus commented 5 years ago

Enhancement

Configuring the application base path requires a trailing slash, which isn't obvious until you don't add one and your app doesn't work. We should automatically apply the trailing slash if it doesn't exist.

Expected behavior:

It'd be able to use a .dojorc like this:

{
  "build-app": {
    "base": "my-path"
  }
}

Actual behavior:

I need a trailing slash, like:

{
  "build-app": {
    "base": "my-path/"
  }
}
rorticus commented 4 years ago

Resolved with https://github.com/dojo/cli-build-app/pull/430