absolute-import-paths
v1.0.3
Published
A CLI tool to prepend all bare imports with `/node_modules` so that node_modules can be used from the browser.
Downloads
4
Readme
absolute-import-paths
A CLI tool to prepend all bare imports with /node_modules
so that node_modules can be used from the browser.
Usage:
npx absolute-import-paths --glob "dist/**.*.{js,mjs,cjs,ts,jsx,tsx}"