Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 675 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 675 Bytes

ahk-loader

Webpack plugin that loads autohotkey files (ahk)

Installation

npm install --save-dev ahk-loader

Usage

Can be used with ExtractTextPlugin to extract an .ahk file after build

const ExtractTextPlugin = require("extract-text-webpack-plugin");
//...
module.exports = {
    module: {
        loaders: [{
            test: /\.ahk$/,
            exclude: /node_modules/,
            use: ExtractTextPlugin.extract({
                use: [{
                    loader: 'ahk-loader'
                }]
            })
        }]
    }
}