Skip to content

Commit

Permalink
fix: add template for mapping-editor (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
orzyyyy authored Sep 29, 2019
1 parent 43e464e commit 72635d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nino.koei.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ const getHtmlPluginProps = mappings => {
chunks: ['mapping-detail'],
}),
);
editorPageProps.push(
new HtmlWebpackPlugin({
...commonHtmlWebpackProps,
filename: `mapping-editor/${id}/index.html`,
chunks: ['mapping-editor'],
}),
);
break;

case 'markdown':
Expand Down Expand Up @@ -194,6 +201,10 @@ module.exports = {
__dirname,
'src/router/MappingDetailDataController.tsx',
),
'mapping-editor': path.join(
__dirname,
'src/router/MappingDetailDataController.tsx',
),
ninoninoni: path.join(__dirname, 'src'),
},
plugins,
Expand Down

0 comments on commit 72635d9

Please sign in to comment.