dql-loader

0.0.5 • Public • Published

DatQL Webpack Loader

Allows you to require() vanilla DatQL (.dql / .datql) files.

Installing

The loader can be installed via NPM or Yarn:

$ npm install dql-loader --save-dev
$ yarn add dql-loader --dev

Usage

Usage with Webpack is simple:

// webpack.config.js
module: {
    rules: [
        {
            test: /\.(dql|datql)$/,
            loader: 'dql-loader',
            options: {
                flavor: 'postgres'
            }
        }
    ]
}

The only available option is flavor and can be either mysql, mssql, or postgres.

Readme

Keywords

none

Package Sidebar

Install

npm i dql-loader

Weekly Downloads

3

Version

0.0.5

License

MIT

Unpacked Size

2.62 kB

Total Files

4

Last publish

Collaborators

  • nickersoft