![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
cordova-plugin-exclude-files
Advanced tools
A cordova plugin that allows to exclude files from the build
A cordova plugin that allows to exclude files from the build.
This plugin does not work in PhoneGap Build since they don't support cordova hooks.
cordova plugin add cordova-plugin-exclude-files
Configure which files to exclude from the build, by adding any number of <exclude-files>
elements to your config.xml
:
<exclude-files pattern="**/*.scss" />
<platform name="android">
<exclude-files pattern="ios-only" />
</platform>
Patterns are globs that are resolved relative to the www
directory.
Platform specific excludes are appended to the global excludes.
Files that match the given patterns will be removed by an after_prepare
hook.
This seems to be the only safe method of doing this at the moment of writing.
This means that cordova will first copy everything from www
to the platform directories and then the files matched by this plugin will be deleted from there.
Consequently, you cannot speed up cordova prepare
by excluding files using this plugin.
Requires Cordova ≥ 8, Node.js ≥ 6.
cordova-plugin-exclude-files@^0.4.2
.cordova-plugin-exclude-files@^0.2.4
.cordova-plugin-exclude-files
is licensed under the MIT License.
Copyright (c) 2017–2018 Raphael von der Grün
FAQs
A cordova plugin that allows to exclude files from the build
The npm package cordova-plugin-exclude-files receives a total of 26 weekly downloads. As such, cordova-plugin-exclude-files popularity was classified as not popular.
We found that cordova-plugin-exclude-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.