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

ignore-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore-loader

Webpack loader to ignore certain package on build.

0.1.2
latest
Source
npm
Version published
Weekly downloads
267K
-2.59%
Maintainers
1
Weekly downloads
 
Created

What is ignore-loader?

The ignore-loader npm package is a webpack loader that allows you to ignore specific files or modules during the build process. This can be useful for excluding files that are not needed in the final bundle, such as test files, large assets, or platform-specific code.

What are ignore-loader's main functionalities?

Ignore specific files

This feature allows you to ignore files that match a specific pattern. In this example, all files ending with .test.js will be ignored during the build process.

module.exports = {
  module: {
    rules: [
      {
        test: /\.test.js$/,
        loader: 'ignore-loader'
      }
    ]
  }
};

Ignore specific modules

This feature allows you to ignore specific modules. In this example, any module that matches the pattern 'some-large-module' will be ignored during the build process.

module.exports = {
  module: {
    rules: [
      {
        test: /some-large-module/,
        loader: 'ignore-loader'
      }
    ]
  }
};

Other packages similar to ignore-loader

FAQs

Package last updated on 11 Nov 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