Skip to content

Commit 946098f

Browse files
committed
Remove sources from npm package and create alias
1 parent b135188 commit 946098f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"composer.json",
2828
"dist/*.css",
2929
"dist/*.js",
30-
"src"
30+
"src/chart.js"
3131
],
3232
"devDependencies": {
3333
"clean-css": "^4.2.1",

src/chart.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* DEPRECATED since version 2.8, this file is provided for
3+
* backward compatibility and will be removed at version 3.
4+
* https://github.com/chartjs/Chart.js/pull/6105
5+
*/
6+
module.exports = require('../dist/Chart');

0 commit comments

Comments
 (0)