[X] My node version is the same as declared as package.json.
Subject of the issue
Using webpack and I'm getting a compile error:
Failed to compile.
./node_modules/http2-wrapper/source/index.js
Module not found: Can't resolve 'http2' in 'Users/user/myapp/node_modules/http2-wrapper/source'
Steps to reproduce
Run yarn add metascraper
Import to ts file and export scraper instance, i.e. export const scraper = metascraper([]);
Build app using webpack
import the build file into html and execute await scraper({ html, url })
Prerequisites
package.json
.Subject of the issue
Using webpack and I'm getting a compile error:
Steps to reproduce
yarn add metascraper
scraper
instance, i.e.export const scraper = metascraper([])
;await scraper({ html, url })
Expected behaviour
File should be compiled.
Actual behaviour
Failed to compile.