Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorthand properties not work #118

Open
yyyykl opened this issue Apr 19, 2023 · 0 comments
Open

Shorthand properties not work #118

yyyykl opened this issue Apr 19, 2023 · 0 comments

Comments

@yyyykl
Copy link

yyyykl commented Apr 19, 2023

image
When I use electron ./ this is work, but when I use electron-forge start this become unknown property name.

const createWindow = () => {
  const win = new BrowserWindow({
    width: 1600,
    height: 700,
    webPreferences: {
      preload: path.join(__dirname, 'rpc/bridge.js'),
      // contextIsolation: false,
      nodeIntegration: false,
      // plugins: true,
    },
  });

  win.loadURL("http://127.0.0.1:889/")
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant