1.2.0 • Published 5 months ago

@bvanderplanck/rollup-plugin-react-remove-lazy-loading v1.2.0

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

@bvanderplanck/rollup-plugin-react-remove-lazy-loading

This plug-in is meant for those who would like to replace the Lazy Loading conditionnally for any reason.

1. How to use

Import the plugin and simply call it in your rollup config file into the plugins array!

IgnoreLazyLoad({
    disabled: true|false
})

2. Requirements

Your lazy loaded component should follow the exact syntax:

const MyComponent = lazy(async() => import("path to file"))

This will be turned to

import MyComponent from "path to file"
1.2.0

5 months ago

1.1.0

5 months ago

1.0.0

5 months ago