0.4.0 • Published 10 years ago
pragma-loader v0.4.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']}