fix: autoinject needs work
This commit is contained in:
parent
ffbdb7777a
commit
55aaa1cddf
|
@ -50,9 +50,10 @@ module.exports = (async () => {
|
|||
config.entry(name).add(entry);
|
||||
neutrino.use(
|
||||
htmlTemplate({
|
||||
pluginId: `html-${name}`,
|
||||
filename: `${name}.html`,
|
||||
chunks: [name],
|
||||
filename: `${name}.html`,
|
||||
inject: false,
|
||||
pluginId: `html-${name}`,
|
||||
template: flecks.buildConfig('template.ejs'),
|
||||
templateParameters: (compilation, assets, assetTags, options) => {
|
||||
let styleFile;
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
<body>
|
||||
<div id="<%= htmlWebpackPlugin.options.appMountId %>"></div>
|
||||
<script src="/flecks.config.js"></script>
|
||||
<%= htmlWebpackPlugin.tags.bodyTags %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user