bahmutov / bahmutov/rolling-task

avoid having to save to a file to get "nice" source inlined maps

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
imdone.io TODO
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Gleb Bahmutov
gleb.bahmutov@gmail.com
https://github.com/bahmutov/rolling-task/issues/6
bundle.generate() resolves with code and map and it should be enough
to find utility that can patch these two together.
For now use output file, read it back and send the source with source map
back to the caller

----
*opened via [imdone.io](https://imdone.io) from a code comment on [2c91d408db39a9d6bda42dc0fa7bcdce62dc44fe](https://github.com/bahmutov/rolling-task/commit/2c91d408db39a9d6bda42dc0fa7bcdce62dc44fe) by Gleb Bahmutov gleb.bahmutov@gmail.com*

----

https://github.com/bahmutov/rolling-task/blob/a46f4eb3ecfe84299ba851d50b776567cad2f65b/cypress/plugins/index.js#L40-L52

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in cypress/plugins/index.js at lines 40-52 and inspect how bundle.generate() currently produces code and a map. Trace the output-file and readback path, then determine the existing utility for combining the two results. Done means the caller receives the source and source map without requiring an intermediate output file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript, rollup
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.