jest-webpack-resolver icon indicating copy to clipboard operation
jest-webpack-resolver copied to clipboard

Please support the case where the webpack config exports a promise!

Open benalman-toast opened this issue 7 years ago • 0 comments

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()
    ]
  }
})

benalman-toast avatar Jul 05 '18 21:07 benalman-toast