forked from pagekit/extension-blog
-
Notifications
You must be signed in to change notification settings - Fork 2
/
webpack.config.js
27 lines (25 loc) · 864 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
module.exports = [
{
entry: {
"category-index": "./app/views/admin/category-index",
"category-edit": "./app/views/admin/category-edit",
"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",
"post-meta": "./app/components/post-meta.vue"
},
output: {
filename: "./app/bundle/[name].js"
},
module: {
loaders: [
{ test: /\.vue$/, loader: "vue" }
]
}
}
];