0.0.2 • Published 2 years ago

@marketplace-co/parcel-resolver-tspaths v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

This has been cloned becasuse the default package did not support .js/.jsx files

The old .babelrc this replaced is:

// Track progress on when this can be removed here:
// https://github.com/parcel-bundler/parcel/issues/4936

// This is a workaround for parcel as it does not support tsConfig base url
// See the comment below for the reccomendation to use module-resolver
// https://github.com/parcel-bundler/parcel/issues/202#issuecomment-622253568
{
  "plugins": [
    [
      "module-resolver",
      {
        "root": ["./src"],
        "alias": {
          "@": "./src"
        }
      }
    ]
  ]
}