@esbuild-plugins/tsconfig-paths

Create a custom resolver to resolve paths defined in tsconfig.json

Usage no npm install needed!

<script type="module">
  import esbuildPluginsTsconfigPaths from 'https://cdn.skypack.dev/@esbuild-plugins/tsconfig-paths';
</script>

README

Create a custom resolver to resolve paths defined in tsconfig.json

import TsconfigPathsPlugin from '@esbuild-plugins/tsconfig-paths'
import { build } from 'esbuild'


build({
    plugins: [TsconfigPathsPlugin({tsconfig: })],
})