Skip to content

Commit 9087ae1

Browse files
committed
2 parents d989494 + cc1c137 commit 9087ae1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ angular.module('mainModuleName', ['ionic', 'gl-angular-configuration']){
2424
# How to use
2525

2626
## Dynamically load the configuration.json file (optional)
27-
Add a `configuration.json` file at the root of your project.
27+
Add a `configuration.json` file at the root of your project.
28+
29+
Note: If you look at the webpack config (`webpack.base.config.js`) of the test-app provided with the package, you'll see that I use the `CopyWebpackPlugin` to copy the right configuration named after a `env` argument passed to the webpack cli. The command line I use is a npm script. You can find it in the `package.json` file of the test-app.
30+
2831
Remove the automatic bootstrap of your angular app. You can do it by Removing the `ng-app` tag of your `index.html` file.
2932
It will allow you to boostrap it manually after the json has been loaded.
3033
```

0 commit comments

Comments
 (0)