comments.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. var inspect = 4 === util.inspect.length
  2. ? // node <= 0.8.x
  3. (function(v, colors) {
  4. return util.inspect(v, void 0, void 0, colors);
  5. })
  6. : // node > 0.8.x
  7. (function(v, colors) {
  8. return util.inspect(v, { colors: colors });
  9. });
  10. var inspect = 4 === util.inspect.length
  11. ? // node <= 0.8.x
  12. (function(v, colors) {
  13. return util.inspect(v, void 0, void 0, colors);
  14. })
  15. : // node > 0.8.x
  16. (function(v, colors) {
  17. return util.inspect(v, { colors: colors });
  18. });
  19. const extractTextPluginOptions = shouldUseRelativeAssetPaths
  20. // Making sure that the publicPath goes back to to build folder.
  21. ? { publicPath: Array(cssFilename.split('/').length).join('../') } :
  22. {};
  23. const extractTextPluginOptions = shouldUseRelativeAssetPaths
  24. ? // Making sure that the publicPath goes back to to build folder.
  25. { publicPath: Array(cssFilename.split("/").length).join("../") }
  26. : {};
  27. const extractTextPluginOptions = shouldUseRelativeAssetPaths // Making sure that the publicPath goes back to to build folder.
  28. ? { publicPath: Array(cssFilename.split("/").length).join("../") }
  29. : {};
  30. const { configureStore } = process.env.NODE_ENV === "production"
  31. ? require("./configureProdStore") // a
  32. : require("./configureDevStore"); // b