mmiller42 / html-webpack-externals-plugin

Webpack plugin that works alongside html-webpack-plugin to use pre-packaged vendor bundles.
MIT License
99 stars 16 forks source link

Accurate path? #38

Open liangei opened 6 years ago

liangei commented 6 years ago

Why can't we achieve the precise path through the way of outputPath:'static/js/[name].js'?

example:

new HtmlWebpackExternalsPlugin({ externals: [{ module: 'jquery', entry: 'jquery/dist/jquery.min.js', global: 'jQuery', }, ], outputPath: 'static/js/[name].js' }))

insert: