mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
DEV: Collect css assets from webpack build (#25087)
fb95ab8e00
started depending on webpack-bundled CSS, but css files weren't being collected by Sprockets or uploaded to S3.
This commit is contained in:
parent
37127ec141
commit
7d0e0c3110
|
@ -9,7 +9,7 @@ class EmberCli < ActiveSupport::CurrentAttributes
|
|||
end
|
||||
|
||||
def self.assets
|
||||
cache[:assets] ||= Dir.glob("**/*.{js,map,txt}", base: "#{dist_dir}/assets")
|
||||
cache[:assets] ||= Dir.glob("**/*.{js,map,txt,css}", base: "#{dist_dir}/assets")
|
||||
end
|
||||
|
||||
def self.script_chunks
|
||||
|
|
Loading…
Reference in New Issue
Block a user