mirror of
https://github.com/gophish/gophish
synced 2024-11-14 16:27:23 +00:00
01287e0dd5
- Ran gofmt - Rebuilt minified static files - Updated validation payload
22 lines
No EOL
507 B
JavaScript
22 lines
No EOL
507 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
context: path.resolve(__dirname, 'static', 'js', 'src', 'app'),
|
|
entry: {
|
|
users: './users',
|
|
webhooks: './webhooks',
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, 'static', 'js', 'dist', 'app'),
|
|
filename: '[name].min.js'
|
|
},
|
|
module: {
|
|
rules: [{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: "babel-loader"
|
|
}
|
|
}]
|
|
}
|
|
} |