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

outer-script-html-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

outer-script-html-webpack-plugin - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

12

package.json
{
"name": "outer-script-html-webpack-plugin",
"version": "1.1.1",
"description": "",
"version": "1.1.2",
"description": "Inject original js into html, without webpack compiler",
"keywords": [
"html-webpack-plugin",
"original",
"scripts",
"js",
"inject",
"html"
],
"main": "src/index.js",

@@ -6,0 +14,0 @@ "scripts": {

11

README.md
# outer-script-html-webpack-plugin
Inject js into html without webpack compiler.
Inject original js into html, without webpack compiler.
Working with [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).
Working with [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) and [Webpack 3](https://github.com/webpack/webpack).

@@ -33,3 +33,3 @@ # Install

{
chunk: '/absolute/path/to/b.[chunkhash].js',
chunk: '/absolute/path/to/b.js',
filename: 'js/b.[chunkhash].js'

@@ -45,7 +45,10 @@ }

...
// original a.js and b.js without compiling will be injected here
<script type="text/javascript" src="/public/js/a.js">
<script type="text/javascript" src="/public/js/b.c57c86c1b956c3a01175.js">
// outer scripts will be injected before other scripts
// 'outerScripts' will be injected before other scripts
<script type="text/javascript" src="/public/others.js">
...
```
# License
MIT
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