A Babel preset that includes all ES2015 plugins (like babel-preset-es2015) but disables the automatic prepending of 'use strict' directives. This is useful when you want ES2015 transpilation without forcing strict mode, for example when combining with other scripts that are not strict-mode compatible or when targeting environments where strict mode causes issues. Version 0.0.4 is the latest and only release; there are no updates, and the preset is now obsolete because Babel 7+ deprecated the es2015 preset in favor of individual plugins or @babel/preset-env. This preset works only with Babel 6.x.
npm install babel-preset-es2015-without-strictVerified import paths — ran on the pinned version, not inferred.
Install preset, configure .babelrc, and transpile an ES2015 arrow function/export to ES5 without strict mode directive.
Upgrade to Babel 7 and use @babel/preset-env with the 'modules' and 'strict' options to achieve the same effect.
Add 'babel-polyfill' to your entry point or use @babel/preset-env with 'useBuiltIns'.
Ensure your final bundle is wrapped in a function scope or use a module bundler that adds strict mode per module.
Downgrade to Babel 6, or migrate to Babel 7 and use @babel/preset-env with the 'strict' option set to false.
In Babel 6, add babel-polyfill or babel-plugin-transform-runtime.
Run 'npm install --save-dev babel-preset-es2015-without-strict' and use 'es2015-without-strict' (without 'babel-preset-' prefix) in config.