JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2250
  • Score
    100M100P100Q114633F
  • License MIT

Lazy compile dynamic imports to boost your webpack startup time.

Package Exports

  • lazy-compile-webpack-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lazy-compile-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Lazy Compile Webpack Plugin

Plugin that saves a tremendous amount of time.

Install

  npm i --save-dev lazy-compile-webpack-plugin
  yarn add --dev lazy-compile-webpack-plugin

Usage

const LazyCompilePlugin = require('lazy-compile-webpack-plugin')

module.exports = {
  entry: 'index.js',
  output: {
    path: __dirname + '/dist',
    filename: 'bundle.js'
  },
  plugins: [
    new LazyCompilePlugin()
  ]
}