mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 11:04:26 +08:00
DEV: Collect css assets from webpack build (#25087)
fb95ab8e006d67f485881fb2c8715918486a8684 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…
x
Reference in New Issue
Block a user