0.1.0 • Published 5 years ago
mix-manifest-path-resolve v0.1.0
mix-manifest-path-resolve
install
npm install mix-manifest-path-resolve
usage
const MixManifestPathResolvePlugin = require('mix-manifest-path-resolve');
mix.webpackConfig({
plugins: [
new MixManifestPathResolvePlugin('/path/to')
]
})
output mix-manifest.json
{
- "/js/home.js": "/js/home.js"
+ "/js/home.js": "/path/to/js/home.js"
}
syntax
MixManifestPathResolvePlugin(documentRoot, [, publicPath])
parameters
documentRoot
subdirectory path specified in the document root
publicPath
optional
path to the public directory of laravel
return value
undefined