wodax-umi-plugin-modern-mode

A plugin for modern mode

Usage no npm install needed!

<script type="module">
  import wodaxUmiPluginModernMode from 'https://cdn.skypack.dev/wodax-umi-plugin-modern-mode';
</script>

README

umi-plugin-umi-plugin-modern-mode

NPM version NPM downloads

A plugin for modern mode

Usage

Configure in .umirc.js,

export default {
  plugins: [
    ['umi-plugin-umi-plugin-modern-mode', options],
  ],
}

Options

{ isModernBuild = true, unsafeInline = false } = Options

isModernBuild: modern mode

unsafeInline: inline safari nomodule pollyfill

LICENSE

MIT