New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jpweeks/html-webpack-inline-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jpweeks/html-webpack-inline-plugin

[![NPM Version](https://img.shields.io/npm/v/html-webpack-inline-plugin.svg?style=flat-square)](https://www.npmjs.com/package/html-webpack-inline-plugin)

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

html-webpack-inline-plugin

NPM Version

Inline all <script>, <link> and <img> tags that contain the inline attribute with inline-source.

Installation

npm install --save-dev html-webpack-inline-plugin

Basic Usage

Require the plugin in your webpack config:

var HtmlWebpackInlinePlugin = require('html-webpack-inline-plugin');

Add the plugin to your webpack config as follows:

plugins: [
  new HtmlWebpackPlugin(),
  new HtmlWebpackInlinePlugin()
]  

Add the tag to your html template as follows:

<!DOCTYPE html>
<html>
  <head>
    <script inline src="web_modules/lib/lib.js"></script>
  </head>
  <body>
  </body>
</html>

Inspired by

gulp-inline-source

License

This project is licensed under MIT.

FAQs

Package last updated on 05 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc