
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
parcel-plugin-modernizr
Advanced tools
A [Parcel](https://github.com/parcel-bundler/parcel) plugin for generating custom [Modernizr](https://github.com/Modernizr/Modernizr) builds ⚙️
A Parcel plugin for generating custom Modernizr builds ⚙️
v1.1.0
, the functionality of this plugin changed. See setup instructions on how to use it now.$ npm install parcel-plugin-modernizr -D
$ yarn add parcel-plugin-modernizr -D
In your project's source folder, create a file modernizr.mdrnzr
and put in your Modernizr config, for example:
{
"minify": true,
"classPrefix" : "",
"options": [
"setClasses",
"addTest"
],
"feature-detects": [
"css/pointerevents",
"touchevents",
"history"
]
}
You can also create a file named .modernizrrc
in your project's root folder and put your config there.
Instead of using a .modernizrrc
, you can also put your config inside your project's package.json
under the key "modernizr".
See https://github.com/Modernizr/Modernizr/blob/master/lib/config-all.json for all available options.
./src/index.html:
<script src="modernizr.mdrnzr"></script>
./src/modernizr.mdrnzr: Your modernizr config (or empty if using one of the other options)
$ parcel ./src/index.html
./dist/index.html:
<script src="modernizr.contentHash.js"></script>
./dist/modernizr.contentHash.js: Your custom modernizr build
./src/modernizr.mdrnzr: Your modernizr config (or empty if using one of the other options)
$ parcel ./src/modernizr.mdrnzr
./dist/modernizr.js: Your custom modernizr build
Pull requests are welcome
FAQs
A [Parcel](https://github.com/parcel-bundler/parcel) plugin for generating custom [Modernizr](https://github.com/Modernizr/Modernizr) builds ⚙️
The npm package parcel-plugin-modernizr receives a total of 13 weekly downloads. As such, parcel-plugin-modernizr popularity was classified as not popular.
We found that parcel-plugin-modernizr 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.