grafana/scripts/webpack/dependencies.js
2017-10-03 11:02:40 +02:00

15 lines
362 B
JavaScript

'use strict';
const pkg = require('../../package.json');
const _ = require('lodash');
let dependencies = Object.keys(pkg.dependencies);
// remove jquery so we can add it first
// remove rxjs so we can only depend on parts of it in code
_.pull(dependencies, 'jquery', 'rxjs')
// add jquery first
dependencies.unshift('jquery');
module.exports = dependencies;