NoAsyncChunksWarning.js 621B

123456789101112131415161718192021
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Sean Larkin @thelarkinn
  4. */
  5. "use strict";
  6. const WebpackError = require("../WebpackError");
  7. module.exports = class NoAsyncChunksWarning extends WebpackError {
  8. constructor() {
  9. super();
  10. this.name = "NoAsyncChunksWarning";
  11. this.message = "webpack performance recommendations: \n" +
  12. "You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n" +
  13. "For more info visit https://webpack.js.org/guides/code-splitting/";
  14. Error.captureStackTrace(this, this.constructor);
  15. }
  16. };