projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2222ce79cf4dd621e59206177cc3b3523f319d82
[yaffs-website]
/
web
/
modules
/
contrib
/
permissions_by_term
/
js
/
webpack.production.js
1
const path = require('path');
2
3
module.exports = {
4
entry: ['./src/drupal-behavior-function/node-form-client.js'],
5
output: {
6
path: path.join(__dirname, '/webpack-dist/'),
7
filename: 'bundle.js'
8
},
9
module: {
10
rules: [
11
{
12
exclude: /(node_modules)/,
13
use: [{
14
loader: 'babel-loader',
15
options: {
16
babelrc: './.babelrc'
17
}
18
}]
19
}
20
]
21
},
22
};