Skip to content

Create html pages with web-webpack-plugin #17

@temple

Description

@temple

Summary

web-webpack-plugin is a package containing two plugins: a manual one called WebPlugin and an automated called AutoWebPlugin.
While first plugin creates an html output bundle for each instantiation (like html-webpack-plugin), the second is able to perform an scan over a folder, creating an html output for each subfolder found containing an index.js file.

Then we can follow two strategies in order to produce the output:
Write down a plugin instance for each desired output page, or provide folders with needed each index.js files.
Those files may just call a common rendering function from a common module, passing a diferent file or object with the content to be loaded dynamically when opening the page.

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions