Skip to content

Plugin to include a remote js file into the output bundle

Notifications You must be signed in to change notification settings

Tolkam-JS-Packages/webpack-plugin-remote-include

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tolkam/webpack-plugin-remote-include

Plugin to include a remote js file into the output bundle.

Usage

const RemoteIncludePlugin = require('@tolkam/webpack-plugin-remote-include');

return {
    // ...
    plugins: [
        new RemoteIncludePlugin([{
            url: 'https://example.com/myFile.js',
            filepath: 'myFile.js',
        }]),
    ]
    // ...
}

Documentation

The code is rather self-explanatory and API is intended to be as simple as possible. Please, read the sources/Docblock if you have any questions. See Usage for quick start.

License

Proprietary / Unlicensed 🤷

About

Plugin to include a remote js file into the output bundle

Resources

Stars

Watchers

Forks

Packages

No packages published