From 606f88ce223d77bfb1805090399ce001b7af3270 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 21 Nov 2019 12:33:48 -0600 Subject: [PATCH] Se prueba de nuevo que funcione el module.exports Se sube a version 1.0.3 --- RadialGauge.jsx => RadialGauge.js | 2 -- index.js | 6 ++++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename RadialGauge.jsx => RadialGauge.js (99%) diff --git a/RadialGauge.jsx b/RadialGauge.js similarity index 99% rename from RadialGauge.jsx rename to RadialGauge.js index 2f16dc5..f112154 100644 --- a/RadialGauge.jsx +++ b/RadialGauge.js @@ -1,7 +1,5 @@ import React, { Component } from 'react'; -import './css/AvancesCard.css'; - import Chart from 'chart.js'; import 'chartjs-chart-radial-gauge/build/Chart.RadialGauge.umd.min.js'; diff --git a/index.js b/index.js index 7238fb5..4fecf1b 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ -import RadialGauge from './RadialGauge.jsx'; +import RadialGauge from './RadialGauge'; -export default { RadialGauge } \ No newline at end of file +module.exports = { + RadialGauge, +} \ No newline at end of file diff --git a/package.json b/package.json index 13eba62..0259e72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chartjs-2-react", - "version": "1.0.1", + "version": "1.0.3", "description": "Libreria de chart.js para react desarrollada por Alejandro Lembke Barrientos.", "main": "index.jsx", "scripts": {