forked from pagekit/extension-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.config.js
31 lines (29 loc) · 849 Bytes
/
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
module.exports = [
{
entry: {
"comment-index": "./app/views/admin/comment-index",
"post-edit": "./app/views/admin/post-edit",
"post-index": "./app/views/admin/post-index",
"settings": "./app/views/admin/settings",
"comments": "./app/views/comments",
"post": "./app/views/post",
"posts": "./app/views/posts",
"link-blog": "./app/components/link-blog.vue"
},
output: {
filename: "./app/bundle/[name].js"
},
externals: {
"lodash": "_",
"jquery": "jQuery",
"uikit": "UIkit",
"vue": "Vue",
"site": "Site"
},
module: {
loaders: [
{ test: /\.vue$/, loader: "vue" }
]
}
}
];