New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

feather2-hook-nodemodules

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feather2-hook-nodemodules

feather2-hook-nodemodules ===============================

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

feather2-hook-nodemodules

解决feather2支持查找node_modules模块的hook

使用

npm install feather2-hook-nodemodules --save-dev
//conf.js
//先卸载原有hook,  注,必须注销
feather.config.unhook('components');
//注册nodemodules模块查找
feather.config.hook('nodemodules');
//支持查找es6,vue
feather.config.set('project.fileType.js', ['es6', 'vue']);
require.async('vue');
feather2 release

FAQs

Package last updated on 23 Dec 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