문제

I want to ignore samples/ folder when build. I used this

configure :build do
  activate :asset_hash, :ignore => [/^samples\//]
end

It didn't work and that folder was still included during build process. Could anyone advise?

도움이 되었습니까?

해결책

Add the following code to your config.rb file:

ignore 'samples/*'

#ignore accepts regular expressions as well. See the specs.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top