Skip to content

Commit

Permalink
use lazy component with piral-cli-webapck
Browse files Browse the repository at this point in the history
  • Loading branch information
carvinlo committed May 16, 2020
1 parent c9a67c9 commit 041b9f7
Show file tree
Hide file tree
Showing 10 changed files with 16,141 additions and 1,689 deletions.
6,746 changes: 5,348 additions & 1,398 deletions app-shell/package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion app-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
],
"dependencies": {
"piral": "0.11.4",
"piral-containers": "0.11.4"
"piral-containers": "0.11.4",
"piral-cli-webpack": "0.5.2"
},
"scripts": {
"start": "piral debug",
Expand Down
3,685 changes: 3,592 additions & 93 deletions team-blue/package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions team-blue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@types/react-router-dom": "latest",
"app-shell": "file:../app-shell/dist/develop/app-shell-1.0.0.tgz",
"piral-cli": "0.11.4",
"piral-cli-webpack": "0.5.2",
"react": "*",
"react-dom": "*",
"react-router": "*",
Expand All @@ -29,10 +30,10 @@
"react-router-dom": "*"
},
"scripts": {
"start": "pilet debug",
"build": "pilet build",
"start": "pilet debug-wp",
"build": "pilet build-wp",
"upgrade": "pilet upgrade",
"upload": "pilet publish --fresh --api-key df133a512569cbc85f69788d1b7ff5a909f6bcfe1c9a2794283a2fc35175882c --url http://localhost:9000/api/v1/pilet"
"upload": "pilet build-wp && pilet pack && pilet publish --api-key df133a512569cbc85f69788d1b7ff5a909f6bcfe1c9a2794283a2fc35175882c --url http://localhost:9000/api/v1/pilet"
},
"main": "dist/index.js",
"files": [
Expand Down
3,685 changes: 3,592 additions & 93 deletions team-green/package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions team-green/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@types/react-router-dom": "latest",
"app-shell": "file:../app-shell/dist/develop/app-shell-1.0.0.tgz",
"piral-cli": "0.11.4",
"piral-cli-webpack": "0.5.2",
"react": "*",
"react-dom": "*",
"react-router": "*",
Expand All @@ -29,10 +30,10 @@
"react-router-dom": "*"
},
"scripts": {
"start": "pilet debug",
"build": "pilet build",
"start": "pilet debug-wp",
"build": "pilet build-wp",
"upgrade": "pilet upgrade",
"upload": "pilet publish --fresh --api-key df133a512569cbc85f69788d1b7ff5a909f6bcfe1c9a2794283a2fc35175882c --url http://localhost:9000/api/v1/pilet"
"upload": "pilet build-wp && pilet pack && pilet publish --api-key df133a512569cbc85f69788d1b7ff5a909f6bcfe1c9a2794283a2fc35175882c --url http://localhost:9000/api/v1/pilet"
},
"main": "dist/index.js",
"files": [
Expand Down

0 comments on commit 041b9f7

Please sign in to comment.