Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage example #6

Open
zivkaziv opened this issue Nov 8, 2018 · 0 comments
Open

Usage example #6

zivkaziv opened this issue Nov 8, 2018 · 0 comments

Comments

@zivkaziv
Copy link

zivkaziv commented Nov 8, 2018

Hey guys,

I'm trying to use this plugin with webpack 4.
I have the following configuration

 entry: {
        bundle: './js/app.js',
    },
    output: {
        path: path.join(__dirname, 'public'),
        filename: 'dist/[name].[chunkhash].js'
    },
    resolve: {
        plugins: [new BowerResolvePlugin()],
        modules: ['libs'], //This is the directory of my bower moduls
        descriptionFiles: ['bower.json'],
        mainFields: ['browser', 'main']
    },

But it doesn't load any dependency.
Can you please help me with some usage example?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant