Skip to content

Releases: lisonge/vite-plugin-monkey

Release v3.0.2

18 Mar 09:11
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release v3.0.1

14 Mar 11:10
Compare
Choose a tag to compare

3.0.1

Please refer to CHANGELOG.md for details.

Release v3.0.0

14 Mar 10:01
Compare
Choose a tag to compare

3.0.0

  • support top level await by systemjs
  • support dynamic import in single file by systemjs
  • use original build mode instead of library-mode
  • vite legacy is available
  • add gm_webRequest, unwrap, copyright, sandbox type hint, others
  • redirect client when build
  • fix: monkeyWindow.GM may be undefined
  • fix: cdn util suport multiple call

plugin@v2 use inlineDynamicImport and not support TopLevelAwait

image


plugin@v3

image

3.0.0-BreakChanges

  • vite-plugin-monkey must be the last one of plugin list
  • sourcemap is temporarily unavailable

Please refer to CHANGELOG.md for details.

Release [email protected]

14 Mar 11:19
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release v3.0.0-alpha.2

11 Mar 18:26
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release v3.0.0-alpha.1

08 Mar 13:06
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release v3.0.0-alpha.0

01 Mar 13:31
Compare
Choose a tag to compare

Next

features

  • support top level await by systemjs
  • support dynamic import in single file by systemjs
  • use original build mode instead of library-mode
  • vite legacy is available

image

breaking change

  • vite-plugin-monkey must be the last one of plugin list
  • sourcemap is temporarily unavailable

example

when plugin works with vite legacy, it is necessary to set renderLegacyChunks=false

// vite.config.ts
import legacy from '@vitejs/plugin-legacy';
import { defineConfig } from 'vite';
import monkey from 'vite-plugin-monkey';

export default defineConfig({
  plugins: [
    legacy({
      renderLegacyChunks: false,
      modernPolyfills: true,
    }),
    monkey({
      entry: './src/main2.ts',
    }),
  ],
});

Release v2.12.1

24 Feb 12:43
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release [email protected]

24 Feb 12:52
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.

Release [email protected]

21 Feb 12:47
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details.