Merge branch 'main' into production
This commit is contained in:
commit
dcd22e3e8b
1 changed files with 6 additions and 3 deletions
9
Rules
9
Rules
|
@ -15,12 +15,15 @@ json_dir = File.join(Dir.getwd, "src", "json")
|
||||||
name_by_id = Ryo.from_json_file("#{json_dir}/nameById.json")
|
name_by_id = Ryo.from_json_file("#{json_dir}/nameById.json")
|
||||||
i18n = Ryo.from_json_file("#{json_dir}/i18n.json")
|
i18n = Ryo.from_json_file("#{json_dir}/i18n.json")
|
||||||
buildenv = ENV["buildenv"] || "development"
|
buildenv = ENV["buildenv"] || "development"
|
||||||
|
|
||||||
|
##
|
||||||
|
# Plugins
|
||||||
Nanoc::Webpack
|
Nanoc::Webpack
|
||||||
.default_argv
|
.default_argv
|
||||||
.concat ["--config", "webpack.#{buildenv}.js"]
|
.concat ["--config", "webpack.#{buildenv}.js"]
|
||||||
Nanoc::Tidy.default_options.merge!(
|
Nanoc::Tidy
|
||||||
"-upper" => true
|
.default_argv
|
||||||
)
|
.concat ["-upper"]
|
||||||
|
|
||||||
##
|
##
|
||||||
# See packages/typescript/postman
|
# See packages/typescript/postman
|
||||||
|
|
Loading…
Reference in a new issue