The Wayback Machine - https://web.archive.org/web/20200825210607/https://github.com/topics/path
Skip to content
#

path

Here are 625 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

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.