node_modules/laravel-mix/src/File.js
/**
     * Get the path to the file, starting at the project's public dir.
     *
     * @param {string|null} publicPath
     */
Get the path to the file, starting at the project's public dir.
@param {string|null} publicPath
Get the path to the file starting at the project ' s public dir . @param { string|null } publicPath
pathFromPublic(publicPath) {
        publicPath = publicPath || Config.publicPath;
        let extra = this.filePath.startsWith(publicPath) ? publicPath : '';
        return this.path().replace(Mix.paths.root(extra), '');
    }
pathFromPublic ( publicPath ) { publicPath = publicPath || Config . publicPath ; let extra = this . filePath . startsWith ( publicPath ) ? publicPath : '' ; return this . path ( ) . replace ( Mix . paths . root ( extra ) , '' ) ; }
Get the path to the file, starting at the project's public dir.
Get the path to the file starting at the project ' s public dir .