Skip to content

Strings are not protected when using bytecodePlugin #552

@subframe7536

Description

@subframe7536

Describe the bug

Create from official template and add bytecodePlugin

export default defineConfig({
  main: {
    plugins: [externalizeDepsPlugin(), bytecodePlugin({ protectedStrings: ['pong'] })]
  },
  //...
})

in generated .jsc file, the pong is shown vertically

image

Electron-Vite Version

2.3.0

Electron Version

28.2.10

Vite Version

5.3.1

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions