I’m trying to build an npm package for a Google Analytics configuration, however, I keep getting these errors.
Cannot find module ‘npm package’ or its corresponding type declarations.
Webpack build failed.
According to documentation here it’s because it is not compatible with webpack. I’ve been trying different builds and looking for comparable resources to get something working, but so far no luck.