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

V0.13.12 #53

Merged
merged 7 commits into from
Mar 28, 2023
Merged

V0.13.12 #53

merged 7 commits into from
Mar 28, 2023

Conversation

caoxiemeihao
Copy link
Member

@caoxiemeihao caoxiemeihao commented Mar 28, 2023

0.13.12 (2023-03-28)

  • 7f6b3a4 fix: correctly path
  • a7b1132 docs: update
  • 6604d99 chore: install.mjs -> install.js
  • 2f70a9b refactor: separate cjs-shim.ts
  • 45fef6b refactor: cleanup, separate cjs-shim.ts

Main Changed

If you build in cjs format, you need to import the corresponding shim plugin

import cjsShim from 'vite-plugin-electron-renderer/dist/cjs-shim.mjs'

export default {
  build: {
    rollupOptions: {
      output: {
        format: 'cjs',
      },
    },
  },
  plugins: [
    cjsShim(),
  ],
}

@caoxiemeihao caoxiemeihao merged commit b0b9b2e into main Mar 28, 2023
@caoxiemeihao caoxiemeihao deleted the v0.13.12 branch March 28, 2023 04:51
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

Successfully merging this pull request may close these issues.

1 participant