build-plugin-wrap-code

build plugin for inject code to files

Usage no npm install needed!

<script type="module">
  import buildPluginWrapCode from 'https://cdn.skypack.dev/build-plugin-wrap-code';
</script>

README

build-plugin-wrap-code

Usage:

{
  "plugins": [
    ["ice-plugin-wrap-code", {
        "addCodeBefore": "console.log('some code before entry')",
        "addCodeAfter": "console.log('some code after entry')"
      }
    ]
  ]
}