18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
var webpack = require('webpack');
|
|
var libraryName = 'pawsqlite-cordova-adapter';
|
|
var outputFile = libraryName + '.js';
|
|
|
|
var config = {
|
|
mode: 'development',
|
|
entry: __dirname + '/src/psql_adapter.mjs',
|
|
devtool: 'source-map',
|
|
output: {
|
|
path: __dirname + '/www',
|
|
filename: outputFile,
|
|
libraryExport: 'default',
|
|
libraryTarget: 'commonjs2',
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|