Adds
use strict;
in the beginning of each source
Inspired by this gist https://gist.github.com/loganfsmyth/6f8520c7c96f61f0a5b8
$ npm install --save strict-loader
require('strict!./yourmom.js');
module.exports = {
module: {
loaders: [
{
test: /\.js$/,
loader: 'strict'
}
]
}
};
MIT