dql-loader
v0.0.5
Published
Webpack loader for DatQL files
Downloads
1
Readme
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.