Skip to content

Path to main file is incorrect in bower.json #2236

@troywarr

Description

@troywarr

Since the file paths in "main" are relative to the package's root directory, the current bower.json:

{
  "name": "Chart.js",
  "version": "2.0.0",
  "description": "Simple HTML5 Charts using the canvas element",
  "homepage": "https://github.com/nnnick/Chart.js",
  "author": "nnnick",
  "main": [
    "Chart.js"
  ],
  "devDependencies": {
    "jquery": "~2.1.4"
  }
}

incorrectly sets the path Chart.js. That points to the root directory, rather than the dist directory where the file lives.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions