@dotcom-tool-kit/webpack 5.0.0 → 5.0.1-beta.1
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.
- package/package.json +4 -4
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcom-tool-kit/webpack",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1-beta.1",
|
|
4
4
|
"main": "lib",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"test": "cd ../../ ; npx jest --silent --projects plugins/webpack"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dotcom-tool-kit/base": "^
|
|
20
|
+
"@dotcom-tool-kit/base": "^4.0.0-beta.1",
|
|
21
21
|
"@dotcom-tool-kit/error": "^5.0.0",
|
|
22
22
|
"@dotcom-tool-kit/logger": "^5.0.0",
|
|
23
23
|
"tslib": "^2.8.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"zod": "^3.24.4"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"dotcom-tool-kit": "5.
|
|
28
|
+
"dotcom-tool-kit": "^5.0.1-beta.1",
|
|
29
29
|
"webpack": "4.x.x || 5.x.x"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=20.x"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|
package/readme.md
CHANGED
|
@@ -19,11 +19,11 @@ plugins:
|
|
|
19
19
|
|
|
20
20
|
### Building with Webpack locally
|
|
21
21
|
|
|
22
|
-
For local development, by default the `
|
|
22
|
+
For local development, by default the `Webpack` task runs in `development` mode on the `build:local` command, and runs in `watch` mode on `run:local`. One plugin that provides these commands is [`npm`](../npm), allowing you to run Webpack with `npm run build` and `npm start`.
|
|
23
23
|
|
|
24
24
|
### Building with Webpack on CI and remote apps
|
|
25
25
|
|
|
26
|
-
The `
|
|
26
|
+
The `Webpack` task runs in `production` mode on the `build:ci` command by default. `build:ci` is for compiling an app's source in CI jobs, and is provided by plugins like [`circleci`](../circleci/).
|
|
27
27
|
|
|
28
28
|
### Running on another command
|
|
29
29
|
You can also configure Webpack to run on any other command; for example, if you want to run it with `npm run test` via the `npm` plugin, you can manually configure Webpack to run on `npm`'s `test:local` command:
|