Move templates into src
This commit is contained in:
parent
96baba6a50
commit
ab274de581
|
@ -8,7 +8,7 @@ const root = path.resolve(__dirname, '..', '..', '..');
|
|||
function packPage(page, chunks) {
|
||||
if (!chunks) chunks = [];
|
||||
return new HtmlWebpackPlugin({
|
||||
template: `${root}/templates/${page}`,
|
||||
template: `${root}/src/templates/${page}`,
|
||||
filename: `${root}/static/templates/${page}`,
|
||||
chunks: chunks,
|
||||
inject: false,
|
||||
|
|
Loading…
Reference in New Issue