Back to Babel

@babel/plugin-transform-strict-mode

packages/babel-plugin-transform-strict-mode/README.md

7.29.2440 B
Original Source

@babel/plugin-transform-strict-mode

This plugin places a 'use strict'; directive at the top of all files to enable strict mode

See our website @babel/plugin-transform-strict-mode for more information.

Install

Using npm:

sh
npm install --save-dev @babel/plugin-transform-strict-mode

or using yarn:

sh
yarn add @babel/plugin-transform-strict-mode --dev