Socket
Book a DemoInstallSign in
Socket

cordova-hook-ignore-files

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

cordova-hook-ignore-files

Apache Cordova hook script for ignoring files from build

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

cordova-hook-ignore-files

Apache Cordova hook script for ignoring files from build.

Usage

Install cordova-hook-ignore-files:

$ npm i --save-dev cordova-hook-ignore-files
<!-- config.xml -->
<hook type="after_prepare" src="./node_modules/cordova-hook-ignore-files/ignore-files.js" />

Ignore files ie. assets in config.xml with following syntax:

<!-- config.xml -->
<ignore-files ignore="platforms/**/www/**/*.scss" />

When running cordova build, Apache Cordova will invoke the hook after it has prepared your code for compilation and ignore listed files from build.

Author

Lauri Tunnela is a young and passionate B.Eng. from Finland. He does everything from embedded C development to front-end web development. Lauri loves to build tools that make software development fast and easy for everyone. He hopes you to use cordova-hook-ignore-files as you see fit. Although, as its developer he would be more than happy to know where you've used it and what are your thoughts about it! For contact details see Lauri's profile.

License

cordova-hook-ignore-files is licensed under The MIT License (MIT).

Copyright (c) 2016 Lauri Tunnela

Keywords

cordova

FAQs

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