When creating a bundle for a library, should the library dependencies be placed in devDependencies
?
I am developing an NPM library in TypeScript that relies on several dependencies, including React components. As part of the build process, we compile to JavaScript, minify, and bundle into a single JS file. The final published package will only include this bundled JS file.
Upon installing the package, all dependencies will also be installed. Is it necessary to list these dependencies as devDependencies
in the package.json since they are already included in the bundled JS file?