-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from WalkerKnapp/master
Add an onlinePath Argument
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,6 +188,23 @@ minify: { | |
}, | ||
``` | ||
|
||
### onlinePath | ||
|
||
```js | ||
string | ||
``` | ||
|
||
A path to append to file references injected. This is useful for putting files on a CDN after building. | ||
|
||
#### Example | ||
```js | ||
onlinePath: '//www.example.com/foo', | ||
``` | ||
Which will generate: | ||
```html | ||
<script src="//www.example.com/foo/main.js"></script> | ||
``` | ||
|
||
## License | ||
|
||
[MIT](LICENSE) © [Petr Tsymbarovich](mailto:[email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters