Package Exports
- babel-plugin-fail-explicit
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-fail-explicit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-plugin-fail-explicit
A babel plugin that prevents coercion and silent failure in JavaScript
⚠️ Experimental ⚠️
Roadmap
- Fail on unsafe coercion
- Fail on unsafe property access
Installation
npm install --save-dev babel-plugin-fail-explicit
npm install --save-dev babel-plugin-add-module-exportsSetup
// .babelrc
{
"plugins": [
"fail-explicit",
"add-module-exports"
]
}