Skip to content

Add file content to the HTML generated by html-webpack-plugin

Notifications You must be signed in to change notification settings

yuanzhhh/add-content-html-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

# install
npm install add-content-html-webpack-plugin (or yarn)

# usage
const AddContentHtml = require('add-content-html-webpack-plugin');

# plugins config array for Webpack
new AddContentHtml({
    filepath: // file path
    inject: 'head', // head、body、html
    babelpath: // babel path
});

About

Add file content to the HTML generated by html-webpack-plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published