This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

webpack-runtime-public-path-plugin

1.1.2 • Public • Published

webpack-runtime-public-path-plugin

A plugin that lets you override the Webpack modules public path in webpage runtime.

Configuration

const RuntimePublicPathPlugin = require("webpack-runtime-public-path-plugin")
    plugins: [
        ...
        new RuntimePublicPathPlugin({
            runtimePublicPath: "'/foo/bar/'"
        })
        ...
    ]

Result

/******/        // __webpack_public_path__
/******/        __webpack_require__.p = "/dist/";
 
/******/        // Dynamic assets path override (runtime-public-path-webpack-plugin)
/******/        __webpack_require__.p = ('/foo/bar/') || __webpack_require__.p;
 

Package Sidebar

Install

npm i webpack-runtime-public-path-plugin

Weekly Downloads

849

Version

1.1.2

License

MIT

Unpacked Size

2.56 kB

Total Files

3

Last publish

Collaborators

  • groot