Add the following to your webpack config
{..., loaders: ['pragma-loader']}
You'll likely want to add your own pragma. The default is /** @pragma */
.
{..., loaders: ['pragma-loader?pragma=/** @skipCompiler */']}
This will do an async fs.writeFile()
to add the pragma to any touched resource.
{..., loaders: ['pragma-loader?modifySource']}