generated from fidum/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
nova-package-bundler-command.php
45 lines (42 loc) · 1.47 KB
/
nova-package-bundler-command.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
return [
/*
|--------------------------------------------------------------------------
| Output paths
|--------------------------------------------------------------------------
|
| Define the output paths where the command will save the contents of the
| bundled packages. These paths will be wrapped with `public_path` as
| the output needs to always end up in the public directory so that
| we can tell Nova to load it via the ASSET_URL.
|
*/
'paths' => [
'script' => '/vendor/nova-tools/app.js',
'style' => '/vendor/nova-tools/app.css',
],
/*
|--------------------------------------------------------------------------
| Download url assets
|--------------------------------------------------------------------------
|
| Set this value to `true` if you want the bundler command to download
| assets where the path is already a url. When `false`, url assets are
| ignored when bundling and nova will load them as normal.
|
*/
'download_url_assets' => false,
/*
|--------------------------------------------------------------------------
| Excluded assets
|--------------------------------------------------------------------------
|
| Define the assets to skip when bundling packages. The name of the script
| or style with which it is added is expected here.
|
*/
'excluded' => [
'scripts' => [],
'styles' => [],
],
];