Socket
Book a DemoInstallSign in
Socket

execute-module-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

execute-module-loader

Build-time module execution in a Webpack loader

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

execute-module-loader Build status Latest Release License

This is a Webpack loader that allows you to execute a module at build time. It was originally taken from a Webpack test case and is distributed as a NPM module for convenience.

Default behavior

Given an ES module, the export default value will be used. For CommonJS modules, the module.exports value will be used.

Warning The value must be a string, or else compilation will fail.

Options

export: string

An export whose value to return as the module output. The value must be a string.

module: boolean

When enabled, all exports will be included in the module output, encoded in a stringified JSON object.

Keywords

webpack

FAQs

Package last updated on 17 Jan 2023

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