mirror of
https://github.com/getbible/app.git
synced 2024-11-16 01:57:14 +00:00
23 lines
856 B
JavaScript
23 lines
856 B
JavaScript
|
module.exports = {
|
||
|
pages: {
|
||
|
index: {
|
||
|
// entry for the page
|
||
|
entry: 'src/main.js',
|
||
|
// 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: 'GetBible',
|
||
|
// chunks to include on this page, by default includes
|
||
|
// extracted common chunks and vendor chunks.
|
||
|
chunks: ['chunk-vendors', 'chunk-common', 'index']
|
||
|
},
|
||
|
// when using the entry-only string format,
|
||
|
// template is inferred to be `public/subpage.html`
|
||
|
// and falls back to `public/index.html` if not found.
|
||
|
// Output filename is inferred to be `subpage.html`.
|
||
|
subpage: 'src/main.js'
|
||
|
}
|
||
|
}
|