webpack-auto-inject-version/src/config.js

20 lines
377 B
JavaScript
Raw Normal View History

2017-04-11 00:11:09 +01:00
export default {
PACKAGE_JSON_PATH: './package.json',
components: {
AutoIncreaseVersion: true,
InjectAsComment: true,
InjectByTag: true
},
componentsOptions: {
2017-04-12 23:40:22 +01:00
InjectAsComment: {
tag: 'Build version: {version} - {date}'
},
2017-04-11 00:11:09 +01:00
InjectByTag: {
fileRegex: /\.+/
2017-04-10 21:33:32 +01:00
}
2017-04-11 00:11:09 +01:00
},
LOGS_TEXT: {
AIS_START: 'Auto inject version started'
2017-04-10 21:33:32 +01:00
}
2017-04-11 00:11:09 +01:00
};