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.
23 lines
371 B
23 lines
371 B
4 years ago
|
const {resolve} = require('path');
|
||
|
const fs = require('fs');
|
||
|
|
||
|
module.exports = {
|
||
|
devtool: 'none',
|
||
|
mode: 'production',
|
||
|
entry: {
|
||
|
index: [__dirname + '/lib/index.js']
|
||
|
},
|
||
|
output: {
|
||
|
path: __dirname,
|
||
|
library: 'sift',
|
||
|
libraryTarget: 'umd',
|
||
|
filename: 'sift.min.js'
|
||
|
},
|
||
|
resolve: {
|
||
|
extensions: ['.js']
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
]
|
||
|
}
|
||
|
};
|