Skip to content

Commit

Permalink
fix: Webpack manifest plugin. (#34)
Browse files Browse the repository at this point in the history
* fix: Webpack manifest plugin.

* fix: Disable eslint rule.
  • Loading branch information
rajzik authored Apr 6, 2020
1 parent 1bae025 commit d939f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/config-webpack/src/plugins/InlineManifestPlugin.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable no-param-reassign, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access, import/no-extraneous-dependencies */

import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import sourceMappingURL from 'source-map-url';
import webpack from 'webpack';

function getAssetName(chunks: webpack.compilation.Chunk[], chunkName: string) {
return chunks.filter((chunk) => chunk.name === chunkName)?.[0]?.files[0];
Expand All @@ -22,7 +22,7 @@ function inlineWhenMatched(
if (isManifestScript) {
return {
tagName: 'script',
voidTag: true,
voidTag: false,
attributes: {
type: 'text/javascript',
},
Expand Down

0 comments on commit d939f88

Please sign in to comment.