ionic-team / stencil

A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
https://stenciljs.com
Other
12.41k stars 777 forks source link

Sourcemaps for node and browser #1650

Closed pittst3r closed 4 years ago

pittst3r commented 5 years ago

Stencil version:

@stencil/core@1.0.3

I'm submitting a:

[ ] bug report [x] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior: There are no sourcemaps available for either the browser code or the node code. This makes debugging tests and components very difficult.

Expected behavior: There should be sourcemaps available in all environments (test, dev, prod).

Steps to reproduce:

  1. Create a new stencil component library with the starter project
  2. Build or test component library
  3. Observe that there are no sourcemaps
petermikitsh commented 4 years ago

Source maps are now on the fall roadmap! https://stenciljs.com/blog/stencil-roadmap-fall-2019

sajTempler commented 4 years ago

similar to #1744

manucorporat commented 4 years ago

Closing as duplicated, it's complicated but we are closer than ever, we are relaying more on TS and rollup than manual code modification

splitinfinities commented 2 years ago

Heads up everyone, Stencil supports sourcemaps as of v2.9.0! https://stenciljs.com/docs/config#sourcemap