A webpack loader for autohotkey files, to take the source from #include
npm install ahk-loader
npm install --save-dev ahk-loader
`
Usage
Can be used with ExtractTextPlugin to extract an .ahk file after build
` javascript
const ExtractTextPlugin = require("extract-text-webpack-plugin");
//...
module.exports = {
module: {
loaders: [{
test: /\.ahk$/,
exclude: /node_modules/,
use: ExtractTextPlugin.extract({
use: [{
loader: 'ahk-loader'
}]
})
}]
}
}
``