@tdukart/script-tag-wrapper-webpack-plugin

0.0.2 • Public • Published

NOTE: This package is in maintanance mode. I'll merge in security updates but I won't be doing much else with it, and I don't think anybody but me is using it.

script-tag-wrapper-webpack-plugin

Webpack plugin to take compiled modules and wrap them in <script> tags. I built this for a very specific usecase, so it's probably not that useful to most people.

Usage

webpack.config.js

const ScriptTagWrapper = require('@tdukart/script-tag-wrapper-webpack-plugin');
module.exports = {
  plugins: [
    ScriptTagWrapper,
  ],
}

On run, it will output all modules as [name].txt with <script> tags, ready for your workflow.

Readme

Keywords

none

Package Sidebar

Install

npm i @tdukart/script-tag-wrapper-webpack-plugin

Weekly Downloads

0

Version

0.0.2

License

BSD-3-Clause

Unpacked Size

3 kB

Total Files

3

Last publish

Collaborators

  • tdukart