tooltip.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. "use strict";
  2. /**
  3. *
  4. * Tooltip object that consists of tooltips for various of
  5. * features
  6. *
  7. * @returns {Object} An Object that consists of tooltip methods to be invoked
  8. */
  9. module.exports = {
  10. uglify: _ => {
  11. return `/*
  12. * We've enabled UglifyJSPlugin for you! This minifies your app
  13. * in order to load faster and run less javascript.
  14. *
  15. * https://github.com/webpack-contrib/uglifyjs-webpack-plugin
  16. *
  17. */`;
  18. },
  19. splitChunks: _ => {
  20. return `/*
  21. * SplitChunksPlugin is enabled by default and replaced
  22. * deprecated CommonsChunkPlugin. It automatically identifies modules which
  23. * should be splitted of chunk by heuristics using module duplication count and
  24. * module category (i. e. node_modules). And splits the chunks…
  25. *
  26. * It is safe to remove "splitChunks" from the generated configuration
  27. * and was added as an educational example.
  28. *
  29. * https://webpack.js.org/plugins/split-chunks-plugin/
  30. *
  31. */`;
  32. },
  33. cssPlugin: _ => {
  34. return `/*
  35. * We've enabled MiniCssExtractPlugin for you. This allows your app to
  36. * use css modules that will be moved into a separate CSS file instead of inside
  37. * one of your module entries!
  38. *
  39. * https://github.com/webpack-contrib/mini-css-extract-plugin
  40. *
  41. */`;
  42. },
  43. postcss: _ => {
  44. return `/*
  45. * We've enabled Postcss, autoprefixer and precss for you. This allows your app
  46. * to lint CSS, support variables and mixins, transpile future CSS syntax,
  47. * inline images, and more!
  48. *
  49. * To enable SASS or LESS, add the respective loaders to module.rules
  50. *
  51. * https://github.com/postcss/postcss
  52. *
  53. * https://github.com/postcss/autoprefixer
  54. *
  55. * https://github.com/jonathantneal/precss
  56. *
  57. */`;
  58. }
  59. };