BREAKING CHANGE(core): switch to esm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as plugins from './smartpuppeteer.plugins';
|
||||
import * as plugins from './smartpuppeteer.plugins.js';
|
||||
|
||||
export interface IEnvAwareOptions {
|
||||
forceNoSandbox?: boolean;
|
||||
@@ -7,7 +7,6 @@ export interface IEnvAwareOptions {
|
||||
export const getEnvAwareBrowserInstance = async (
|
||||
optionsArg: IEnvAwareOptions = {}
|
||||
): Promise<plugins.puppeteer.Browser> => {
|
||||
const smartenv = new plugins.smartenv.Smartenv();
|
||||
const options: IEnvAwareOptions = {
|
||||
...{
|
||||
forceNoSandbox: false,
|
||||
|
||||
Reference in New Issue
Block a user