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

Accurate path? #38

@liangei

Description

@liangei

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions