Skip to content

Commit ac1fb84

Browse files
author
M. Rizky Hidayat
committed
Resolve error when npm run production
1 parent 8051e3f commit ac1fb84

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

resources/js/app.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/StislaPreset.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ protected static function updatePackageArray(array $packages)
4444
{
4545
return [
4646
'@fortawesome/fontawesome-free' => '^5.10.2',
47+
'popper.js' => '^1.14',
4748
'moment' => '^2.24',
4849
'bootstrap' => '^4.3.1',
4950
'jquery' => '^3.4',
@@ -71,8 +72,6 @@ protected static function updateAssets()
7172
*/
7273
protected static function updateScripts()
7374
{
74-
(new Filesystem)->deleteDirectory(resource_path('js'));
75-
7675
static::copyDirectory(static::RESOURCE_PATH.'js', resource_path('js'));
7776
}
7877

0 commit comments

Comments
 (0)