Skip to content

Commit

Permalink
pkg: Use webpack 5 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Oct 15, 2020
1 parent b4154f8 commit 3ed67cd
Show file tree
Hide file tree
Showing 6 changed files with 729 additions and 290 deletions.
2 changes: 1 addition & 1 deletion examples/linaria/package.json
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.12",
"private": true,
"scripts": {
"start": "webpack-dev-server --mode=development",
"start": "webpack serve --mode=development",
"prod": "serve ./dist",
"build": "webpack --mode=production",
"build:server": "webpack --mode=production --target=node",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/package.json
Expand Up @@ -3,7 +3,7 @@
"version": "4.2.1",
"private": true,
"scripts": {
"start": "webpack-dev-server --mode=development",
"start": "webpack serve --mode=development",
"prod": "serve ./dist",
"build": "webpack --mode=production",
"build:server": "webpack --mode=production --target=node",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,8 +28,8 @@
"husky": "^3.0.9",
"lerna": "^3.22.1",
"typescript": "^4.0.2",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack": "^5.1.1",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.11.0"
},
"resolutions": {
Expand Down
@@ -1,6 +1,6 @@
{
"scripts": {
"start": "webpack-dev-server --mode=development",
"start": "webpack serve --mode=development",
"prod": "serve <%= assetPath %>",
"build": "webpack --mode=production",
"analyze": "webpack --mode=production --analyze",
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-config-anansi/package.json
Expand Up @@ -45,8 +45,8 @@
},
"devDependencies": {
"@anansi/babel-preset": "^1.2.9",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.0",
"@babel/cli": "^7.12.0",
"@babel/core": "^7.12.0",
"debug": "^4.1.1",
"prettier-eslint-cli": "^5.0.0",
"rimraf": "^2.6.3"
Expand Down

0 comments on commit 3ed67cd

Please sign in to comment.