Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

val-loader

Package Overview
Dependencies
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

val-loader

val loader module for webpack

  • 0.5.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
106K
decreased by-10.45%
Maintainers
6
Weekly downloads
 
Created
Source

npm deps chat

Val Loader

Provides data to another loader

Install

npm i val-loader --save

Usage

var a = require("val-loader!./file.js");
// => excute file.js while compiling and 
//    take the result as javascript code for including

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

The excution of file.js has polyfill already applied.

Provide data for another loader:

require("css-loader!val-loader!./generateCss.js");

Maintainers


Juho Vepsäläinen

Joshua Wiens

Kees Kluskens

Sean Larkin

FAQs

Package last updated on 25 Feb 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