Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve output in some cases #48

Closed
alexander-akait opened this issue Aug 8, 2019 · 2 comments · Fixed by #50
Closed

improve output in some cases #48

alexander-akait opened this issue Aug 8, 2019 · 2 comments · Fixed by #50

Comments

@alexander-akait
Copy link
Member

  • Operating System: no matter
  • Node Version: no matter
  • NPM Version: no matter
  • webpack Version: no matter
  • schema-utils Version: 2.1.0

Feature Proposal

Example:

 optimization: {
        runtimeChunk: {
            name: /fef/
        }
    }

Feature Use Case

Actual output:

 - configuration.optimization.runtimeChunk should be one of these:
   boolean | "single" | "multiple" | object { name? }
   -> Create an additional chunk which contains only the webpack runtime and chunk hash maps
   Details:
    * configuration.optimization.runtimeChunk.name should be a string.
    * configuration.optimization.runtimeChunk.name should be an instance of function.
    * configuration.optimization.runtimeChunk.name should be one of these:
      string | function
      -> The name or name factory for the runtime chunks

Expected output:

 - configuration.optimization.runtimeChunk should be one of these:
   boolean | "single" | "multiple" | object { name? }
   -> Create an additional chunk which contains only the webpack runtime and chunk hash maps
   Details:
    * configuration.optimization.runtimeChunk.name should be one of these:
      string | function
      -> The name or name factory for the runtime chunks
     Details:
      * configuration.optimization.runtimeChunk.name should be a string.
      * configuration.optimization.runtimeChunk.name should be an instance of function.
@vankop
Copy link
Member

vankop commented Aug 13, 2019

@evilebottnawi may I take this?

@alexander-akait
Copy link
Member Author

Yes, PR welcome 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants