res-into-html-webpack-plugin

0.1.1 • Public • Published

##介绍

将js css 等自动打包到html的body里边

依赖html-webpack-plugin

使用 npm i --save-dev res-into-html-webpack-plugin

const resIntoHtml = require("res-into-html-webpack-plugin");

module.exports = merge(common,{
    plugins: [
        new resIntoHtml([
            `<script src="https://examplexxx.com/xxx.js"></script>`
        ])
    ]
});

/res-into-html-webpack-plugin/

    Package Sidebar

    Install

    npm i res-into-html-webpack-plugin

    Weekly Downloads

    0

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    1.4 kB

    Total Files

    3

    Last publish

    Collaborators

    • yongzhen