You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NoAsyncChunksWarning.js 611B

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. "webpack performance recommendations: \n" +
  11. "You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n" +
  12. "For more info visit https://webpack.js.org/guides/code-splitting/"
  13. );
  14. this.name = "NoAsyncChunksWarning";
  15. Error.captureStackTrace(this, this.constructor);
  16. }
  17. };