jaredpalmer / jaredpalmer/backpack

Banner is prepending absolute paths

Open
#124 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.4k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

The banner attribute on webpack causing prepending of absolute paths on bundles which leads to this error:
`Error: Cannot find module '/Users/furkantunali/Sites/chantelle-tools/node_modules/source-map-support/register.js'`

![screen shot 2018-03-23 at 10 57 19](https://user-images.githubusercontent.com/68406/37825055-eb94c14e-2e8e-11e8-93c9-1b2498f8209b.png)

Contributor guide

Open the contributing guide

Research direction

Start with the webpack banner configuration and reproduce the reported bundle error using the example in the issue. Inspect the generated bundle to identify why the banner prepends an absolute local path. Done means bundles no longer contain machine-specific absolute paths and the reported module-resolution error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.