mirror of
https://github.com/gophish/gophish
synced 2024-11-14 16:27:23 +00:00
84096b8724
This implements the first pass for a user management API allowing users with the `ModifySystem` permission to create, modify, and delete users. In addition to this, any user is able to use the API to view or modify their own account information.
21 lines
No EOL
475 B
JavaScript
21 lines
No EOL
475 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
context: path.resolve(__dirname, 'static', 'js', 'src', 'app'),
|
|
entry: {
|
|
users: './users',
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, 'static', 'js', 'dist', 'app'),
|
|
filename: '[name].min.js'
|
|
},
|
|
module: {
|
|
rules: [{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: "babel-loader"
|
|
}
|
|
}]
|
|
}
|
|
} |