This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'lodash'; | |
import MemoryFileSystem from 'memory-fs'; | |
import webpack from 'webpack'; | |
import webpackConfig from '../../webpack.config'; | |
// This function allows you to do an on-the-fly, in-memory webpack compile starting | |
// with whatever file entry point you want, and receive back the compiled object. | |
export default (entry, callback) => { |