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

i-vulcanize-loader

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

i-vulcanize-loader

vulcanize loader for webcomponents and html-imports for webpack

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Vulcanize loader for webpack

Use html-imports and webcomponents in your webpack bundle with Vulcanize (from Polymer)

With ES6 support via babel.

Usage

  • Specify root path with base
  • Minify javascript with NODE_ENV=production or query parameter compress.
  • The module will vulcanize the file and write write the document.head to add the corresponding html-import.
require("vulcanize?compress=true&base=/lib!./imports.html");
// => returns i. e. "/lib/imports.html"
  • To watch files for changes, use a | separated list of relative filenames
  • To watch folders for changes, use a | separated list of relative directories
require("vulcanize?compress=true&base=/lib&watchFolders=./elements|./elements2&watchFiles=./elements3/a.html|./elements3/b.html!./imports.html");
// => returns i. e. "/lib/imports.html"
//    rebuilds when any file in ./elements or ./elements2 changes
//    rebuilds when ./elements3/a.html or ./elements3/b.html changes

License

MIT (http://www.opensource.org/licenses/mit-license.php)

FAQs

Package last updated on 13 Jun 2017

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