jantimon/html-webpack-plugin

feat: Add configuration to decide whether to use the urlencodePath method

jingegebuguai opened this issue · 1 comments

My entry sometimes has special characters, which is an irresistible factor that causes characters to be escaped when writing html, which is not what I want.

const entryPointPublicPaths = entryPointFiles.map((chunkFile) => {
        const entryPointPublicPath = publicPath + urlencodePath(chunkFile);
        return options.hash
          ? appendHash(entryPointPublicPath, compilationHash)
          : entryPointPublicPath;
      });

webpack 4 && webpack 5

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.

Please help us help you by recreating the issue using one of our templates.