0.0.2 • Published 3 years ago

@tdukart/script-tag-wrapper-webpack-plugin v0.0.2

Weekly downloads
2
License
BSD-3-Clause
Repository
-
Last release
3 years ago

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.