0.2.3 • Published 7 years ago

tsrpc-protocol-loader v0.2.3

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

Webpack loader for tsrpc-browser protocols ===

See TSRPC and TSRPC Browser Client

Usage

webpack.config.js

const path = require('path');

//protocol path
const protocolPath = path.resolve(__dirname, 'protocol');

module.exports = {
    //...
    module: {
        rules: [
            {
                test: v => v.startsWith(protocolPath),
                loader: 'tsrpc-protocol-loader',
                options: {
                    protocolPath:  protocolPath
                }
            }
        ]
    },
    //...
}
0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago