Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 121ae3f

Browse files
committed
Webpacker vendoring example
1 parent 2dd93f5 commit 121ae3f

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@import "../stylesheets/normalize";
1+
@import "stylesheets/normalize"; // TRICKY: relative to path added in additional_paths
22
@import "../stylesheets/global";
33
@import "../stylesheets/flair";

config/webpacker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ default: &default
1010

1111
# Additional paths webpack should lookup modules
1212
# ['app/assets', 'engine/foo/app/assets']
13-
additional_paths: []
13+
additional_paths: ['vendor/assets']
1414

1515
# Reload manifest.json on all requests so we reload latest compiled packs
1616
cache_manifest: false

vendor/.keep

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)