1 | const project = require('./package.json')
|
2 |
|
3 | module.exports = {
|
4 | alias: {
|
5 | '~/data': 'res/data'
|
6 | },
|
7 | html: [
|
8 | {filename: 'index.html', template: 'res/index.pug'},
|
9 | {filename: 'cordova.html', template: 'res/cordova.pug'}
|
10 | ],
|
11 | plugins: ['pug', 'stylus'],
|
12 | replace: [
|
13 | {search: '{!application-name!}', replace: project.name, flags: 'g'},
|
14 | {search: '{!application-version!}', replace: project.version, flags: 'g'}
|
15 | ],
|
16 | port: 1987,
|
17 | static: [
|
18 | {from: 'res/images', to: 'images'}
|
19 | ]
|
20 | }
|