NativeScript / NativeScript/android

Provide support for more source map types in webpack

Open
#1,281 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
563
Forks
144
Avg merge
10h 46m
Merged PRs (30d)
14

Description

Currently running a webpacked application on android doesn't work if using source maps configuration different than "inline-source-map" or "none". It would be good for developers to be able to use other source map types as described in here: https://webpack.js.org/configuration/devtool/ . To provide this feature it's possible that changes should be made in the js_parser.js logic which is part of the static binding generator process.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading js_parser.js in the static binding generator process and trace how webpack source maps are handled for Android. Confirm which devtool types currently fail, then verify that source map configurations beyond "inline-source-map" and "none" work in a webpacked Android application.

Written by the indexing model from the issue text.

Assessment

Tech stack
webpack
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.