@alme/bundle-loader-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Alme Bundle Loader Webpack Plugin

The AlmeBundleLoaderPlugin simplifies creation of the alme bundle loader scripts.

Installation

# npm
npm install @alme/bundle-loader-webpack-plugin

# yarn
yarn add @alme/bundle-loader-webpack-plugin

Basic Usage

// webpack.config.js
const AlmeBundleLoaderPlugin = require('@alme/bundle-loader-webpack-plugin');

module.exports = {
  //...
  plugins: [
      //...
      new AlmeBundleLoaderPlugin(
        {
          scriptManagerPath: './public/alme-script-manager.js',
          bundleLoaderPath: './public/alme-loader.js',
          searchValue: /(?:const bundleFiles = )(\[\])(?:;)/gi,
        }
      ),
  ]
};

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i @alme/bundle-loader-webpack-plugin

    Weekly Downloads

    1

    Version

    2.0.0

    License

    Unlicense

    Unpacked Size

    17.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • nextit-npm