Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Add fallbacks to webpack config. #54

Open
allanhortle opened this issue Feb 9, 2017 · 0 comments
Open

Add fallbacks to webpack config. #54

allanhortle opened this issue Feb 9, 2017 · 0 comments

Comments

@allanhortle
Copy link
Contributor

resolve: {
        extensions: ['', '.jsx', '.js'],
        modulesDirectories: ['src', 'node_modules'],
        fallback: [
            path.resolve('./node_modules')
        ]
    },
    resolveLoader: {
        fallback: [
            path.resolve('./node_modules')
        ]
    },

Lets you dev with symlinks much better.

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

No branches or pull requests

1 participant