mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(FrameManager): add type=module to addScriptTag (#2090)
This patch adds a new "type" option to the `addScriptTag` method that allows adding "module" tags to the page. Fixes #2078
This commit is contained in:
committed by
Andrey Lushnikov
parent
552be1ae87
commit
625c7ebdda
5
test/assets/es6/.eslintrc
Normal file
5
test/assets/es6/.eslintrc
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user