A Babel plugin that removes all `"use strict"` directives from JavaScript code. Version 1.0.1 is the current stable release; the package has minimal updates and is essentially feature-complete. It is a niche utility for projects where strict mode is unwanted (e.g., legacy code, certain bundling scenarios). Unlike manual regex-based removal, this plugin integrates directly into the Babel pipeline and respects AST, avoiding false positives in string literals or comments.
npm install babel-plugin-remove-use-strictVerified import paths — ran on the pinned version, not inferred.
Shows basic Babel config and the effect of removing 'use strict' directives from code.
The plugin only removes directive nodes; ensure you understand the AST distinction.
Test with your Babel version; consider contributing if issues arise.
Only use if you understand the implications of disabling strict mode globally.
Run 'npm install babel-plugin-remove-use-strict' and use short name 'remove-use-strict' in config.
Ensure input is valid JavaScript; the plugin works on AST, not raw text.
Use a Babel 7 compatible version or fork the plugin.
No dependency data recorded yet.