@umijs/bundler-webpack 4.0.0-rc.5 → 4.0.0-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/compiled/autoprefixer/browserslist/index.d.ts +2 -0
  2. package/compiled/autoprefixer/index.js +3 -3
  3. package/compiled/autoprefixer/postcss/lib/declaration.d.ts +1 -1
  4. package/compiled/autoprefixer/postcss/lib/node.d.ts +2 -2
  5. package/compiled/cssnano/index.js +5 -5
  6. package/compiled/express.d.ts +2 -0
  7. package/compiled/http-proxy-middleware/index.js +10 -10
  8. package/compiled/mini-css-extract-plugin/index.js +440 -401
  9. package/compiled/mini-css-extract-plugin/loader.js +3 -1
  10. package/compiled/mini-css-extract-plugin/utils.js +2 -0
  11. package/compiled/terser/index.js +1 -1
  12. package/compiled/webpack/index.js +3974 -3052
  13. package/compiled/webpack-manifest-plugin/index.js +1 -1
  14. package/dist/config/cssRules.js +1 -1
  15. package/dist/index.d.ts +4 -1
  16. package/dist/plugins/ESBuildCSSMinifyPlugin.js +1 -3
  17. package/dist/plugins/ParcelCSSMinifyPlugin.d.ts +1 -1
  18. package/dist/plugins/ParcelCSSMinifyPlugin.js +3 -2
  19. package/dist/plugins/RuntimePublicPathPlugin.js +1 -1
  20. package/dist/schema.js +4 -4
  21. package/dist/server/server.js +5 -2
  22. package/package.json +20 -25
  23. package/compiled/css-loader/LICENSE +0 -20
  24. package/compiled/css-loader/api.js +0 -102
  25. package/compiled/css-loader/getUrl.js +0 -29
  26. package/compiled/css-loader/index.js +0 -2
  27. package/compiled/css-loader/noSourceMaps.js +0 -5
  28. package/compiled/css-loader/package.json +0 -1
  29. package/compiled/css-loader/sourceMaps.js +0 -22
  30. package/compiled/express/LICENSE +0 -24
  31. package/compiled/express/body-parser/index.d.ts +0 -104
  32. package/compiled/express/connect/index.d.ts +0 -93
  33. package/compiled/express/express-serve-static-core/index.d.ts +0 -1252
  34. package/compiled/express/index.d.ts +0 -133
  35. package/compiled/express/index.js +0 -321
  36. package/compiled/express/mime/index.d.ts +0 -35
  37. package/compiled/express/package.json +0 -1
  38. package/compiled/express/qs/index.d.ts +0 -62
  39. package/compiled/express/range-parser/index.d.ts +0 -35
  40. package/compiled/express/serve-static/index.d.ts +0 -108
  41. package/compiled/less/index.js +0 -31
  42. package/compiled/less/package.json +0 -1
@@ -21,7 +21,7 @@ interface DeclarationRaws extends Record<string, unknown> {
21
21
  /**
22
22
  * Declaration value with comments.
23
23
  */
24
- value: {
24
+ value?: {
25
25
  value: string
26
26
  raw: string
27
27
  }
@@ -3,7 +3,7 @@ import Comment, { CommentProps } from './comment'
3
3
  import { Stringifier, Syntax } from './postcss'
4
4
  import AtRule, { AtRuleProps } from './at-rule'
5
5
  import Rule, { RuleProps } from './rule'
6
- import { WarningOptions } from './warning'
6
+ import Warning, { WarningOptions } from './warning'
7
7
  import CssSyntaxError from './css-syntax-error'
8
8
  import Result from './result'
9
9
  import Input from './input'
@@ -241,7 +241,7 @@ export default abstract class Node {
241
241
  *
242
242
  * @return Created warning object.
243
243
  */
244
- warn(result: Result, text: string, opts?: WarningOptions): void
244
+ warn(result: Result, text: string, opts?: WarningOptions): Warning
245
245
 
246
246
  /**
247
247
  * Removes the node from its parent and cleans the parent properties