webpack.config.js 239 B

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