From ab939fb3ee2a81598b162535f488a90fb35bf260 Mon Sep 17 00:00:00 2001 From: Brian Zhang Date: Mon, 21 Jan 2019 23:31:01 -0800 Subject: [PATCH] react-chartjs -> ReactChartJs --- dist/react-chartjs.js | 4 ++-- webpack.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/react-chartjs.js b/dist/react-chartjs.js index dfd2a29..3306a53 100644 --- a/dist/react-chartjs.js +++ b/dist/react-chartjs.js @@ -4,9 +4,9 @@ else if(typeof define === 'function' && define.amd) define(["react", "react-dom", "Chartjs"], factory); else if(typeof exports === 'object') - exports["react-chartjs"] = factory(require("react"), require("react-dom"), require("Chartjs")); + exports["ReactChartJs"] = factory(require("react"), require("react-dom"), require("Chartjs")); else - root["react-chartjs"] = factory(root["React"], root["ReactDOM"], root["Chart"]); + root["ReactChartJs"] = factory(root["React"], root["ReactDOM"], root["Chart"]); })(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_12__, __WEBPACK_EXTERNAL_MODULE_13__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache diff --git a/webpack.config.js b/webpack.config.js index ec059d5..ea6e4f4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -13,7 +13,7 @@ if (process.env.COMPRESS) { module.exports = { output: { - library: 'react-chartjs', + library: 'ReactChartJs', libraryTarget: 'umd' }, externals: [{