You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
399 B
18 lines
399 B
var webpack = require('webpack'); |
|
var libraryName = 'pawsqlite'; |
|
var outputFile = libraryName + '.js'; |
|
|
|
var config = { |
|
mode: 'development', |
|
entry: __dirname + '/src/pawsqlite.mjs', |
|
devtool: 'source-map', |
|
output: { |
|
path: __dirname + '/lib', |
|
filename: outputFile, |
|
library: libraryName, |
|
libraryExport: 'default', |
|
libraryTarget: 'commonjs2', |
|
} |
|
}; |
|
|
|
module.exports = config;
|
|
|