Skip to content

Instantly share code, notes, and snippets.

@jdltechworks
Last active May 9, 2019 05:28
Show Gist options
  • Save jdltechworks/63d386f35ab5127678e40b8cc3f05e1c to your computer and use it in GitHub Desktop.
Save jdltechworks/63d386f35ab5127678e40b8cc3f05e1c to your computer and use it in GitHub Desktop.
const HtmlWebpackPluginConfig = new HtmlWebpackPlugin({
template: `!!raw-loader!${path.join(__dirname, 'client/index.ejs')}`,
filename: path.resolve(__dirname, './server/templates/index.ejs'),
inject: 'body',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment