UNPKG

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