Licence
MIT
Version
0.4.0
Deps
1
Vulns
1
Weekly
0
Pragma loader for webpack
Usage:
Add the following to your webpack config
{..., loaders: ['pragma-loader']}
Options:
Custom pragma
You'll likely want to add your own pragma. The default is /** @pragma */.
{..., loaders: ['pragma-loader?pragma=/** @skipCompiler */']}
Modify source file
This will do an async fs.writeFile() to add the pragma to any touched resource.
{..., loaders: ['pragma-loader?modifySource']}