bigdatr / bigdatr-startr

Yeoman generator for quick-start apps
4 stars 1 forks source link

Add fallbacks to webpack config. #54

Open allanhortle opened 7 years ago

allanhortle commented 7 years ago
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.