Skip to content

Commit 06b75b4

Browse files
committed
docs: putting "bundlers" together
1 parent ce212d3 commit 06b75b4

File tree

8 files changed

+19
-15
lines changed

8 files changed

+19
-15
lines changed

docs/.vuepress/config.js

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,23 @@ module.exports = {
3838
children: ['/guide/node/', '/guide/node/example', '/guide/node/api-reference'],
3939
},
4040
{
41-
title: 'Webpack',
42-
path: '/guide/webpack/',
43-
children: ['/guide/webpack/', '/guide/webpack/inject', '/guide/webpack/example'],
41+
title: 'Bundlers',
42+
path: '/guide/bundlers',
43+
children: [
44+
'/guide/bundlers/',
45+
'/guide/bundlers/webpack',
46+
'/guide/bundlers/inject',
47+
'/guide/bundlers/webpack-example',
48+
'/guide/bundlers/rollup',
49+
'/guide/bundlers/vite',
50+
'/guide/bundlers/esbuild',
51+
],
4452
},
4553
{
4654
title: 'React Native',
4755
path: '/guide/react-native/',
4856
children: ['/guide/react-native/', '/guide/react-native/example'],
4957
},
50-
{
51-
title: 'Vite',
52-
path: '/guide/vite',
53-
},
54-
{
55-
title: 'Rollup',
56-
path: '/guide/rollup',
57-
},
58-
{
59-
title: 'esbuild',
60-
path: '/guide/esbuild',
61-
},
6258
{
6359
title: 'Electron',
6460
path: '/guide/electron',

docs/guide/bundlers/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## App Config in Bundlers
2+
3+
JavaScript has many different types of bundlers. App Config tries to support the most popular ones.
4+
5+
This is helpful in environments where you cannot keep app-config files on the filesystem (like web apps).
6+
The App Config bundler plugins "resolve" your configuration, so that only the basics are included.
File renamed without changes.

docs/guide/webpack/inject.md renamed to docs/guide/bundlers/inject.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ title: App Config Inject
77
A separate package called `@app-config/inject` exists to configure frontend
88
applications at runtime.
99

10+
This is compatible with any of the existing App Config bundlers (webpack, vite, rollup, etc).
11+
1012
The `app-config-inject` binary parses HTML and injects app-config values at runtime.
1113
This is useful for frontend applications that need to be configured with deploying.
1214
In particular, it allows you to have one docker image that can be re-used with
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)