Releases: lisonge/vite-plugin-monkey
Releases · lisonge/vite-plugin-monkey
Release v3.0.2
Please refer to CHANGELOG.md for details.
Release v3.0.1
Release v3.0.0
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
plugin@v3
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]
Please refer to CHANGELOG.md for details.
Release v3.0.0-alpha.2
Please refer to CHANGELOG.md for details.
Release v3.0.0-alpha.1
Please refer to CHANGELOG.md for details.
Release v3.0.0-alpha.0
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
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
Please refer to CHANGELOG.md for details.
Release [email protected]
Please refer to CHANGELOG.md for details.
Release [email protected]
Please refer to CHANGELOG.md for details.