-
Notifications
You must be signed in to change notification settings - Fork 29
/
vue.config.js
25 lines (24 loc) · 742 Bytes
/
vue.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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('path');
module.exports = {
assetsDir: './ui',
devServer: {
port: 8081,
},
pages: {
index: {
// entry for the page
entry: 'src/main.ts',
// the source template
template: 'public/index.html',
// output as dist/index.html
filename: 'index.html',
// when using title option,
// template title tag needs to be <title><%= htmlWebpackPlugin.options.title %></title>
title: 'Mrin - Order Processing System',
// chunks to include on this page, by default includes
// extracted common chunks and vendor chunks.
chunks: ['chunk-vendors', 'chunk-common', 'index'],
},
},
};