1 const rootConfig
= require("./build.webpack.config.js");
2 const merge
= require('deepmerge');
3 const isPlainObject
= require('is-plain-object');
4 const path
= require('path');
5 const glob
= require("glob");
7 const testPath
= path
.resolve(__dirname
, "test");
8 const testBuildPath
= path
.resolve(__dirname
, "test_build/");
10 // Use the same config as the main build but change the settings below
11 module
.exports
= merge(rootConfig
,{
14 glob
.sync(path
.resolve(testPath
, "**/*.js")).forEach(val
=> {
17 Object
.setPrototypeOf(entries
,null); //Make not a plain object
28 isMergeableObject
: isPlainObject