mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
explanatory comment
This commit is contained in:
parent
382122c6d9
commit
f4b11ce29f
@ -52,6 +52,10 @@ try {
|
||||
const entry = Object.keys(embarkAssets)
|
||||
.filter(key => key.match(/\.js?$/))
|
||||
.reduce((obj, key) => {
|
||||
// webpack entry paths should start with './' if they're relative to the
|
||||
// webpack context; embark.json "app" keys correspond to lists of .js
|
||||
// source paths relative to the top-level dapp dir and may be missing the
|
||||
// leading './'
|
||||
obj[key] = embarkAssets[key]
|
||||
.map(file => {
|
||||
let file_path = file.path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user