1.0.5 • Published 6 months ago

@types/webpack-cdn-inject v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/webpack-cdn-inject

Summary

This package contains type definitions for webpack-cdn-inject (https://github.com/drolsen/webpack-cdn-inject#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-cdn-inject.

index.d.ts

// Type definitions for webpack-cdn-inject 1.0
// Project: https://github.com/drolsen/webpack-cdn-inject#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import { Plugin } from 'webpack';

/**
 * Plugin to inject CDN assets into HTML documents.
 */
declare namespace WebpackCDNInject {
    interface Options {
        /**
         * Defines urls to be added to document head (tag type is defined by url's file extension).
         */
        head?: string[] | undefined;
        /**
         * Defines urls to be added to document body (tag type is defined by url's file extension).
         */
        body?: string[] | undefined;
    }
}

declare class WebpackCDNInject extends Plugin {
    constructor(options?: WebpackCDNInject.Options);
}

export = WebpackCDNInject;

Additional Details

  • Last updated: Fri, 02 Jul 2021 18:05:26 GMT
  • Dependencies: @types/webpack
  • Global values: none

Credits

These definitions were written by Piotr Błażejewicz.

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

8 months ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago