discoveryjs / discovery

A framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
https://discoveryjs.github.io/discovery/
MIT License
336 stars 6 forks source link

make it possible to run with single default model #9

Closed obenjiro closed 5 years ago

obenjiro commented 5 years ago

without this changes you can not use this config

.discoveryrc.js

module.exports = {
    "name": "Angular Docs",
    data: require('./doc/crawler.js').default,
    cache: true,
    prepare: __dirname + '/doc/prepare.js',
    view: {
        basedir: __dirname,
        assets: [
            './doc/ui/page/dashboard.js',
            './doc/ui/page/file.js',
            './doc/ui/sidebar.js'
        ]
    }
}
lahmatiy commented 5 years ago

Thanks!