Skip to content

Commit

Permalink
Address some install and build issues - move publishable assets to di…
Browse files Browse the repository at this point in the history
…st to avoid creating untracked changes in public when building assets
  • Loading branch information
ifox committed Mar 15, 2019
1 parent 42de3f8 commit afdc2c7
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ vendor/
assets/dist/*
frontend/js/components/blocks/customs/*
.DS_Store
public/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/TwillServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private function publishMigration($migration)
private function publishAssets()
{
$this->publishes([
__DIR__ . '/../public' => public_path(),
__DIR__ . '/../dist' => public_path(),
], 'assets');
}

Expand Down

0 comments on commit afdc2c7

Please sign in to comment.