Grewer / InsertHtmlCode

webpack html template plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

insert-html-code

a webpack plugin

example:

const insertHtmlCode = require('insert-html-code')

new insertHtmlCode({
        condition: 'condition', //condition any
        code: `<script>
            console.log('running')
        </script>` //your code
      }),

install

npm i -D insert-html-code

About

webpack html template plugin


Languages

Language:JavaScript 100.0%