Skip to content
This repository was archived by the owner on Nov 16, 2019. It is now read-only.
This repository was archived by the owner on Nov 16, 2019. It is now read-only.

Browser not openning at all. #22

@Pavel-Durov

Description

@Pavel-Durov

I followed the README instructions and I didn't get the browser openning.
webpack.config.js:

var OpenBrowserPlugin = require('open-browser-webpack-plugin');
module.exports = function (env) {
    return {
        entry: "./index.js",
        output: { path: __dirname, filename: 'bundle.js' },
        resolve: { modules: ['node_modules'] },
        plugins: [new OpenBrowserPlugin({ url: 'http://localhost:3000' })]
    };
};

Ran it on Windows 7 and 16.04.1-Ubuntu with the following frameworks:
webpack -v: 3.10.0
npm -v: 5.5.1
node -v: 8.9.1
open-browser-webpack-plugin version: 0.0.5

I ended up using node opn package manually: https://www.npmjs.com/package/opn

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