jest-webpack-resolver
jest-webpack-resolver copied to clipboard
Please support the case where the webpack config exports a promise!
I think Promise support has been in there since webpack 2.0.
Eg.
var path = require("path");
var directoryNamed = require("directory-named-webpack-plugin");
module.exports = Promise.resolve({
entry: "./main.js",
output: {
filename: "main.build.js"
},
resolve: {
alias: {
testAlias: path.resolve(__dirname, "alias/")
},
plugins: [
new directoryNamed()
]
}
})