mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
625c7ebdda
This patch adds a new "type" option to the `addScriptTag` method that allows adding "module" tags to the page. Fixes #2078
5 lines
63 B
Plaintext
5 lines
63 B
Plaintext
{
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
}
|
|
} |