depend on version of nanoc-webpack.rb that supports dep tracking.
Related #24
This commit is contained in:
parent
8dc3b4d9dd
commit
955e0ef1e2
3 changed files with 4 additions and 3 deletions
2
Gemfile
2
Gemfile
|
@ -4,7 +4,7 @@ source "https://rubygems.org"
|
|||
gem "nanoc", "~> 4.12"
|
||||
gem "nanoc-live", "~> 1.0"
|
||||
gem "nanoc-gunzip.rb", "~> 0.1"
|
||||
gem "nanoc-webpack.rb", "~> 0.1", git: "https://github.com/0x1eef/nanoc-webpack.rb"
|
||||
gem "nanoc-webpack.rb", "~> 0.1", git: "https://github.com/0x1eef/nanoc-webpack.rb", branch: "feat/depends_on"
|
||||
gem "rainpress", "~> 1.0"
|
||||
gem "sass"
|
||||
gem "standardrb"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
GIT
|
||||
remote: https://github.com/0x1eef/nanoc-webpack.rb
|
||||
revision: 0652027c4661511ff1cf896bbf98c41e15b5c6c9
|
||||
revision: d610596e4b3c0e83922cf0b80d2b40ec94d39b84
|
||||
branch: feat/depends_on
|
||||
specs:
|
||||
nanoc-webpack.rb (0.1.0)
|
||||
ryo.rb (~> 0.3)
|
||||
|
|
2
Rules
2
Rules
|
@ -55,7 +55,7 @@ end
|
|||
##
|
||||
# /js/pages/surah.js
|
||||
compile "/js/pages/TheSurahPage.tsx" do
|
||||
filter :webpack
|
||||
filter :webpack, depend_on: "/js/{lib,components,hooks}/**/*.{ts,tsx,js}"
|
||||
write "/js/pages/surah.js"
|
||||
filter :gzip_text
|
||||
write "/js/pages/surah.js.gz"
|
||||
|
|
Loading…
Reference in a new issue