The prepack method does not allow to utilise source maps. Use prepackFromAst to sourcemap generation.
Contributor guide
Tech stack
javascriptnodejs
Domain
build systemtooling
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-3 hours
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
understanding of webpack pluginsbasic knowledge of prepackfamiliarity with source maps
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
45
Research direction
The issue requests replacing `prepack` with `prepackFromAst` to enable source map generation. Investigate the current usage of `prepack` in the plugin's source code (likely in the main entry file). Review the prepack API documentation for `prepackFromAst` to understand its parameters and how to integrate it. Check existing comments or linked issues for additional context.