puppeteer/test/assets/es6/es6pathimport.js
Yaniv Efraim 625c7ebdda 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
2018-03-14 13:07:48 -07:00

2 lines
65 B
JavaScript

import num from './es6/es6module.js';
window.__es6injected = num;