Webpack resolveの役割


    resolve: {
        //  module         
        root: 'E:/github/flux-example/src', //    

        //         ,     require           
        extensions: ['', '.js', '.json', '.scss'],

        //      ,          ,         
        alias: {
            AppStore : 'js/stores/AppStores.js',//     require('AppStore')   
            ActionType : 'js/actions/ActionType.js',
            AppAction : 'js/actions/AppAction.js'
        }
    }

VaJoyブログから引用