Skip to content

Commit 87837cd

Browse files
Merge pull request #454 from mijdavis2/patch-1
doc(bundling): fix comma syntax errors
2 parents 97b3840 + 515cfd3 commit 87837cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/article/en-US/bundling-your-app-for-deploy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Now, let's create a `bundle.js` file in `build/tasks/bundle.js` as follows:
6060
includes: [
6161
'[*.js]',
6262
'*.html!text',
63-
'*.css!text',
63+
'*.css!text'
6464
],
6565
options: {
6666
inject: true,
@@ -137,13 +137,13 @@ In a JSPM v0.17 style app, we have two separate config files: `jspm.browser.js`
137137
'./jspm.browser.js',
138138
'./jspm.config.js'
139139
],
140-
injectionConfigPath: './jspm.config.js' // Configuration file path where bundle and depCache meta will be injected.
140+
injectionConfigPath: './jspm.config.js', // Configuration file path where bundle and depCache meta will be injected.
141141
bundles: {
142142
"dist/app-build": { // bundle name/path. Must be within `baseURL`. Output path will look like: `baseURL/dist/app-build.js`.
143143
includes: [
144144
'[*.js]',
145145
'*.html!text',
146-
'*.css!text',
146+
'*.css!text'
147147
],
148148
options: {
149149
inject: true,
@@ -183,7 +183,7 @@ Let us now take a closer look at the `config` object. We will skip `force` and `
183183
includes: [
184184
'[*.js]',
185185
'*.html!text',
186-
'*.css!text',
186+
'*.css!text'
187187
],
188188
</source-code>
189189
</code-listing>
@@ -229,7 +229,7 @@ When the bundler analyzes this file it will find `aurelia-framework` and `aureli
229229
includes: [
230230
'*.js',
231231
'*.html!text',
232-
'*.css!text',
232+
'*.css!text'
233233
],
234234
</source-code>
235235
</code-listing>
@@ -275,7 +275,7 @@ Here is a typical bundle configuration in all its glory:
275275
<code-listing heading="Excludes">
276276
<source-code lang="JavaScript">
277277
excludes : [
278-
'app',
278+
'app'
279279
]
280280
</source-code>
281281
</code-listing>
@@ -332,7 +332,7 @@ With this little change Aurelia Loader will now use `HTML Imports` to load all t
332332
options: {
333333
inject: {
334334
indexFile : 'index.html',
335-
destFile : 'dest_index.html',
335+
destFile : 'dest_index.html'
336336
}
337337
}
338338
}

0 commit comments

Comments
 (0)