use-strict-loader
v1.0.1
Published
Add 'use strict' to the header of a javascript file.
Downloads
6
Readme
use-strict-loader
This is a loader for webpack. You can use this loader for adding 'use strict' to the header of a file.
Usage
module.exports = {
entry: "./test.js",
output: {
path: __dirname,
filename: "output.js"
},
module: {
preLoaders: [
{
test: /\.js$/,
loader: "use-strict-loader"
}
]
}
}