mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
Remove etcher-sdk folder filtering from webpack config
This folder has been removed Change-type: patch
This commit is contained in:
parent
e02cfc4529
commit
c21969ab4e
@ -124,7 +124,7 @@ const etcherConfig = _.assign({
|
|||||||
// on the tree (for testing purposes) or inside a generated
|
// on the tree (for testing purposes) or inside a generated
|
||||||
// bundle (for production purposes), by translating
|
// bundle (for production purposes), by translating
|
||||||
// relative require paths within the bundle.
|
// relative require paths within the bundle.
|
||||||
if (/\/(etcher-sdk|shared)/i.test(request) || /package\.json$/.test(request)) {
|
if (/\/shared/i.test(request) || /package\.json$/.test(request)) {
|
||||||
const output = path.join(__dirname, 'generated')
|
const output = path.join(__dirname, 'generated')
|
||||||
const dirname = path.join(context, request)
|
const dirname = path.join(context, request)
|
||||||
const relative = path.relative(output, dirname)
|
const relative = path.relative(output, dirname)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user