Skip to content
#

path

Here are 589 public repositories matching this topic...

dko-slapdash
dko-slapdash commented May 5, 2020
# src/page.ts
import(/* webpackChunkName: "Some" */ "../pages/Some")

Without typescript-transform-paths, this correctly transpiles to the exactly same JS code, the comments remained.

With typescript-transform-paths, it transpiles to:

# dist/page.js
import("../pages/Some")

I.e. the plugin removes comments even when removeComments=false in tsconfig.json's compilerOp

buckley-w-david
buckley-w-david commented Oct 17, 2019

For context: Linux user

I think this project would benefit to some documentation as to what the tool actually does, as in what files it modifies and how. After making a mistaken addition using the tool, I had to spend a few minutes searching through the source code to find what it actually does so that I could revert it, since there's no reference (that I could find) as to how it actually g

Improve this page

Add a description, image, and links to the path topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the path topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.