asfktz / autodll-webpack-plugin

Webpack's DllPlugin without the boilerplate
MIT License
1.46k stars 80 forks source link

Hash support #114

Open kmhigashioka opened 6 years ago

kmhigashioka commented 6 years ago

Hello, I would like to ask if there is a plan on supporting hash similar to HtmlWebpackPlugin's.

On HtmlWebpackPlugin we can do

new HtmlWebpackPlugin({ template: 'src/index.template.html', hash: true }),

which results to

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="/public/style.css">
    <!--<link rel="icon" type="image/png" href="/public/imgs/favicon-32x32.png" sizes="32x32" />-->
    <link rel="icon" type="image/png" href="/public/imgs/favicon-16x16.ico" sizes="16x16" />
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
</head>
<body>
    <div id="root">
    </div>
<script type="text/javascript" src="/dist/app.bundle.js?3fdd529da16d5ac0c138"></script></body>
</html>

So I was wondering if this can be done also on autodll-webpack-plugin?

Thanks and btw great plugin! 😃