createName(output) {
        let name = output
            .pathFromPublic(this.mix.config.publicPath)
            .replace(/\.js$/, '')
            .replace(/\\/g, '/');

        this.base = path.parse(name).dir;

        return name;
    }
Build the proper entry name, based on a given output.

@param {File} output