Merge pull request #141 from achillesrasquinha/versioning

[NEW] Add Version Constant to export
This commit is contained in:
Prateeksha Singh 2018-04-18 00:13:27 +05:30 committed by GitHub
commit 75a4e69297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;