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}"
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}"
npm i absolute-import-paths
2
1.0.3
MIT
22.8 kB
6