2.0.0 • Published 2 years ago

@alme/bundle-loader-webpack-plugin v2.0.0

Weekly downloads
18
License
Unlicense
Repository
-
Last release
2 years ago

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,
        }
      ),
  ]
};
2.0.0

2 years ago

2.0.0-beta

2 years ago

1.1.0

4 years ago

1.0.0

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago