Skip to content

Commit

Permalink
fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Randall committed Nov 9, 2015
1 parent a33c2a7 commit 6f7b74e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
4 changes: 1 addition & 3 deletions dist/koto.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/koto.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -22,7 +22,7 @@ module.exports = function (config) {
frameworks: ['mocha', 'chai', 'sinon', 'sinon-chai'],
files: [
'node_modules/polyfill-function-prototype-bind/bind.js',
'node_modules/koto-theme/dist/theme.js',
// 'node_modules/koto-theme/dist/theme.js',
'node_modules/d3/d3.js',
entry
],
Expand Down
2 changes: 1 addition & 1 deletion src/chart.js
@@ -1,10 +1,10 @@
import 'babel-polyfill';
import d3 from 'd3';
import kotoAssert from './assert.js';
import Layer from './layer.js';

// d3 is required
kotoAssert(d3, 'd3 js is required.');
require('babel-polyfill');
/**
* Create a koto chart
*
Expand Down
13 changes: 7 additions & 6 deletions webpack.config.js
Expand Up @@ -28,12 +28,13 @@ var config = {
// or included separately with a <script> tag

'd3': 'd3',
'koto-theme': {
root: 'Theme',
commonjs: 'koto-theme',
commonjs2: 'koto-theme',
amd: 'koto-theme'
}
'babel-polyfill': 'babel-polyfill'
// 'koto-theme': {
// root: 'Theme',
// commonjs: 'koto-theme',
// commonjs2: 'koto-theme',
// amd: 'koto-theme'
// }
},

plugins: [
Expand Down

0 comments on commit 6f7b74e

Please sign in to comment.