const commonConfig = require("./build-utils/webpack.common"); // Export a function returning config instead of a static config. // The purpose is to allow use of the environment. module.exports = env => { return { ...commonConfig }; };