13 lines
206 B
JavaScript
13 lines
206 B
JavaScript
|
const {resolve} = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
entry: [
|
||
|
'./md5.js'
|
||
|
],
|
||
|
output: {
|
||
|
path: resolve('./dist'),
|
||
|
filename: 'md5.min.js',
|
||
|
libraryTarget: "var",
|
||
|
library: "MD5"
|
||
|
}
|
||
|
};
|