Socket
Socket
Sign inDemoInstall

liferay-npm-bundler-loader-json-loader

Package Overview
Dependencies
179
Maintainers
14
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    liferay-npm-bundler-loader-json-loader

A liferay-npm-bundler loader that turns JSON files into JavaScript modules that export the parsed JSON object.


Version published
Weekly downloads
761
decreased by-25.02%
Maintainers
14
Install size
8.26 MB
Created
Weekly downloads
 

Readme

Source

liferay-npm-bundler-loader-json-loader

A liferay-npm-bundler loader that turns JSON files into JavaScript modules that export the parsed JSON object.

Installation

npm install --save-dev liferay-npm-bundler-loader-json-loader

Usage

In order to use this loader you must declare a rule in your module's .npmbundlerrc file:

{
	"rules": [
		{
			"test": "\\.json$",
			"use": ["json-loader"]
		}
	]
}

See the project's documentation for more information on how to use build rules.

FAQs

Last updated on 05 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc