mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add c3 and d3 to the separate dependencies bundle.
This commit is contained in:
parent
b7f873b96e
commit
a44596ec0d
@ -30,10 +30,12 @@ const packageJSON = require('./package.json')
|
||||
const dependencies = Object.keys(packageJSON && packageJSON.dependencies || {})
|
||||
const materialUIDependencies = ['@material-ui/core']
|
||||
const reactDepenendencies = dependencies.filter(dep => dep.match(/react/))
|
||||
const d3Dependencies = ['c3', 'd3']
|
||||
|
||||
const uiDependenciesToBundle = [
|
||||
...materialUIDependencies,
|
||||
...reactDepenendencies,
|
||||
...d3Dependencies,
|
||||
]
|
||||
|
||||
function gulpParallel (...args) {
|
||||
|
Loading…
Reference in New Issue
Block a user