@roots/bud-build 6.6.1 → 6.6.3

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 (2) hide show
  1. package/README.md +34 -2
  2. package/package.json +7 -11
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  <h1 align="center"><strong>@roots/bud-build</strong></h1>
10
10
 
11
11
  <p align="center">
12
- Bud webpack config build controller
12
+ bud.js core module
13
13
  </p>
14
14
 
15
15
  ---
@@ -30,7 +30,39 @@ npm:
30
30
  npm install @roots/bud-build --save-dev
31
31
  ```
32
32
 
33
- ## Usage
33
+ ## Exports
34
+
35
+ | Signifier | Description |
36
+ | :------------------------- | :---------------------- |
37
+ | `@roots/bud-build` | The `bud.build` service |
38
+ | `@roots/bud-build/item` | The `Item` class |
39
+ | `@roots/bud-build/rule` | The `Rule` class |
40
+ | `@roots/bud-build/loader` | The `Loader` class |
41
+ | `@roots/bud-build/items` | The default `items` |
42
+ | `@roots/bud-build/loaders` | The default `loaders` |
43
+ | `@roots/bud-build/rules` | The default `rules` |
44
+
45
+ ## Default rules
46
+
47
+ | Type | Description |
48
+ | :------------ | :--------------------------- |
49
+ | `.js` | JavaScript source |
50
+ | `.css` | Stylesheet source |
51
+ | `.module.css` | Stylesheet source (module) |
52
+ | `.json` | JSON source |
53
+ | `.toml` | Imported as JSON |
54
+ | `.yml` | Imported as JSON |
55
+ | `.html` | Imported as string |
56
+ | `.md` | Imported as string |
57
+ | `.svg` | Imported as `asset/resource` |
58
+ | `.png` | Imported as `asset/resource` |
59
+ | `.gif` | Imported as `asset/resource` |
60
+ | `.jpg` | Imported as `asset/resource` |
61
+ | `.jpeg` | Imported as `asset/resource` |
62
+ | `.webp` | Imported as `asset/resource` |
63
+ | `.woff` | Imported as `asset/resource` |
64
+ | `.woff2` | Imported as `asset/resource` |
65
+ | `.otf` | Imported as `asset` |
34
66
 
35
67
  ## Contributing
36
68
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@roots/bud-build",
3
- "description": "Bud webpack config build controller",
4
- "version": "6.6.1",
3
+ "description": "bud.js core module",
4
+ "version": "6.6.3",
5
5
  "homepage": "https://roots.io/bud",
6
6
  "repository": {
7
7
  "type": "git",
@@ -46,8 +46,7 @@
46
46
  "./loader": "./lib/loader/index.js",
47
47
  "./loaders": "./lib/handlers/loaders.js",
48
48
  "./rule": "./lib/rule/index.js",
49
- "./rules": "./lib/handlers/rules.js",
50
- "./service": "./lib/service.js"
49
+ "./rules": "./lib/handlers/rules.js"
51
50
  },
52
51
  "typesVersions": {
53
52
  "*": {
@@ -71,23 +70,20 @@
71
70
  ],
72
71
  "rules": [
73
72
  "./lib/handlers/rules.d.ts"
74
- ],
75
- "service": [
76
- "./lib/service.d.ts"
77
73
  ]
78
74
  }
79
75
  },
80
76
  "devDependencies": {
81
- "@roots/bud-api": "6.6.1",
82
- "@roots/bud-hooks": "6.6.1",
77
+ "@roots/bud-api": "6.6.3",
78
+ "@roots/bud-hooks": "6.6.3",
83
79
  "@skypack/package-check": "0.2.2",
84
80
  "@types/fs-extra": "9.0.13",
85
81
  "@types/mini-css-extract-plugin": "2.5.1",
86
82
  "@types/node": "16.18.3"
87
83
  },
88
84
  "dependencies": {
89
- "@roots/bud-framework": "6.6.1",
90
- "@roots/bud-support": "6.6.1",
85
+ "@roots/bud-framework": "6.6.3",
86
+ "@roots/bud-support": "6.6.3",
91
87
  "css-loader": "^6.7.1",
92
88
  "csv-loader": "^3.0.5",
93
89
  "file-loader": "^6.2.0",