Skip to content

Commit

Permalink
Remove sources from npm package and create alias
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Mar 2, 2019
1 parent b135188 commit 946098f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,7 @@
"composer.json",
"dist/*.css",
"dist/*.js",
"src"
"src/chart.js"
],
"devDependencies": {
"clean-css": "^4.2.1",
Expand Down
6 changes: 6 additions & 0 deletions src/chart.js
@@ -0,0 +1,6 @@
/**
* DEPRECATED since version 2.8, this file is provided for
* backward compatibility and will be removed at version 3.
* https://github.com/chartjs/Chart.js/pull/6105
*/
module.exports = require('../dist/Chart');

0 comments on commit 946098f

Please sign in to comment.