[NEW] Add Version Constant to export

This commit is contained in:
Achilles Rasquinha 2018-03-25 12:11:21 +05:30 committed by Prateeksha Singh
parent 8b61bcf888
commit 58aece6105
7 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,4 @@
-include .env
BASEDIR = $(realpath .)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,7 @@ fs.readFile('src/css/charts.scss', (err, css) => {
export default [
{
input: 'src/js/chart.js',
input: 'src/js/index.js',
sourcemap: true,
output: [
{

10
src/js/index.js Normal file
View File

@ -0,0 +1,10 @@
import * as Charts from './chart';
let frappe = { };
frappe.NAME = 'Frappe Charts';
frappe.VERSION = '1.0.0';
frappe = Object.assign({ }, frappe, Charts);
export default frappe;