forked from half22/yii2-picnic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.config.js
40 lines (38 loc) · 1.19 KB
/
webpack.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const path = require("path")
module.exports = {
entry: {
'picnic.js': [
"./src/picnic.js",
"./src/extensions/javascript.js",
"./src/extensions/jquery.js",
"./src/components/locale.js",
"./src/components/url.js",
"./src/components/router.js",
"./src/components/backdrop.js",
"./src/components/scrollbar.js",
"./src/components/event.js",
"./src/components/controller.js",
"./src/components/layer.js",
"./src/components/modal.js",
"./src/components/panel.js",
"./src/components/filter.js",
"./src/plugins/clicked.js",
"./src/plugins/dropdown.js",
"./src/plugins/lazy-load.js",
"./src/plugins/scroll-to.js",
"./src/plugins/sticky.js",
"./src/plugins/tabs.js",
"./src/plugins/title-bubble.js",
"./src/plugins/tooltip.js",
"./src/plugins/form-submit-button.js"
]
},
output: {
filename: "[name]",
path: path.resolve(__dirname, "dist")
},
mode: 'production',
module: {
rules: []
}
}