0.4.0 • Published 9 years ago

pragma-loader v0.4.0

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

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']}