Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Accurate path? #38

Open
liangei opened this issue May 13, 2018 · 0 comments
Open

Accurate path? #38

liangei opened this issue May 13, 2018 · 0 comments

Comments

@liangei
Copy link

liangei commented May 13, 2018

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:

<script type="text/javascript" src="static/js/jquery.min.js"></script>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant