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

require-js-plugins-loader

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-js-plugins-loader

A webpack loader to lazy load RequireJS plugins

  • 0.2.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

require-js-plugins-loader

Build Status npm

This library attempts to simulate Require.js plugins within webpack, it is still in very early stage, but you can try use it like this:

var RequirejsPluginsLoaderPlugin = require('require-js-plugins-loader/Plugin');

module.exports = {
  entry: './index.js',
  output: {
    path: __dirname,
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'require-js-plugins' }
    ]
  },
  requirejsPlugins: {
    plugins: ['myPlugin'] // add requirejs plugins to be parsed here
  },
  plugins: [
    new RequirejsPluginsLoaderPlugin()
  ]
}

Keywords

FAQs

Package last updated on 04 Oct 2016

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