-
-
Save nickmccurdy/ad7d2641f9b7b8c6012d031edab790c4 to your computer and use it in GitHub Desktop.
Puppeteer Replay bundle example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": true, | |
"scripts": { | |
"prepare": "webpack" | |
}, | |
"dependencies": { | |
"@puppeteer/replay": "^1.0.0", | |
"puppeteer": "^16.2.0", | |
"webpack": "^5.74.0", | |
"webpack-cli": "^4.10.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@puppeteer/replay" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
mode: "production", | |
resolve: { | |
fallback: { | |
assert: false, | |
bufferutil: false, | |
child_process: false, | |
constants: false, | |
crypto: false, | |
dns: false, | |
fs: false, | |
http: false, | |
https: false, | |
module: false, | |
net: false, | |
os: false, | |
path: false, | |
readline: false, | |
stream: false, | |
tls: false, | |
url: false, | |
"utf-8-validate": false, | |
util: false, | |
zlib: false, | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment