Adds `use strict;` in the beginning of each source
npm install strict-loader



> Adds use strict; in the beginning of each source
:heavy_check_mark: Webpack 2 compatible
Please note that if you use Babel, the strict transformer automatically places a "use strict"; directive at the top of your files. In this case you don't need strict-loader.
```
$ npm install --save strict-loader
` javascript`
require('strict!./yourmom.js');
` javascript`
module.exports = {
module: {
loaders: [
{
test: /\.js$/,
loader: 'strict'
}
]
}
};
``
npm install
npm start
Open http://localhost:8080/ in browser — you should see text strict-loader is working`
MIT