dryer-config 6.1.4 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2181884f548ada0f37b870c42469f91bc94fb17ea3f3e04d4ac5b74926aa62e4
4
- data.tar.gz: 35ccc535fa685cdba70ce5498231bd1c8c0c268436d54cbace0d1b77ae7ef444
3
+ metadata.gz: d6241824369d1b20f34bd0cbf0cd0365d97b2b4ed47f0adb3c676ff3088a3104
4
+ data.tar.gz: ca1fc2e75eb0b4e3585ea6ef4d0f440031acf339480db0485a39291c38e81ca5
5
5
  SHA512:
6
- metadata.gz: adf1dd3349be507816fb0d6bb513555a96565268f2d129f125b77791dc4d8af1dbe4c00162800280aeaa805336060be3262edeb7ecaab3e9c945ae7dc84cd9ff
7
- data.tar.gz: 57aa04b15d9cc7a5006e933365ebb02f8237e84bf2d672658f01349d3fe74e53ee5f290238dd98f89adb0359b7fd998802b82f9351a36dd2b9afcd4cc0430add
6
+ metadata.gz: 3201ef8a3bfae096a77879ec94553430a8161373565504c4345fdc4c58a59909464084bb417278389db8ebf94901756516c7bce17bda119dc3ea4b224a4d1732
7
+ data.tar.gz: 3382c24d8adb719f935d9f3a182eb53bc083f50b10bf66e6b8bb94dfef3b41701217dbb41453930c2ef1684b60bd40363c0675fa256cc43ac6a739ef5ab7f337
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ rails-7.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.0.1
1
+ ruby-3.0.3
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  DryerConfig
2
2
  ===========
3
+ [![Gem Version](https://badge.fury.io/rb/dryer-config.png)](http://badge.fury.io/rb/dryer-config)
3
4
 
4
5
  Contains most of the files of a pristine "rails new" "config" directories.
5
6
  They will be available to your application by
data/config/boot.rb CHANGED
@@ -1,4 +1,4 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
1
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
2
2
 
3
3
  require "bundler/setup" # Set up gems listed in the Gemfile.
4
4
  require "bootsnap/setup" # Speed up boot time by caching expensive operations.
data/config/cable.yml CHANGED
@@ -7,4 +7,4 @@ test:
7
7
  production:
8
8
  adapter: redis
9
9
  url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
10
- channel_prefix: sample_6_1_4_production
10
+ channel_prefix: sample_7_0_0_production
data/config/database.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  # gem install sqlite3
3
3
  #
4
4
  # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
5
+ # gem "sqlite3"
6
6
  #
7
7
  default: &default
8
8
  adapter: sqlite3
@@ -14,15 +14,18 @@ Rails.application.configure do
14
14
  # Show full error reports.
15
15
  config.consider_all_requests_local = true
16
16
 
17
+ # Enable server timing
18
+ config.server_timing = true
19
+
17
20
  # Enable/disable caching. By default caching is disabled.
18
21
  # Run rails dev:cache to toggle caching.
19
- if Rails.root.join('tmp', 'caching-dev.txt').exist?
22
+ if Rails.root.join("tmp/caching-dev.txt").exist?
20
23
  config.action_controller.perform_caching = true
21
24
  config.action_controller.enable_fragment_cache_logging = true
22
25
 
23
26
  config.cache_store = :memory_store
24
27
  config.public_file_server.headers = {
25
- 'Cache-Control' => "public, max-age=#{2.days.to_i}"
28
+ "Cache-Control" => "public, max-age=#{2.days.to_i}"
26
29
  }
27
30
  else
28
31
  config.action_controller.perform_caching = false
@@ -53,11 +56,6 @@ Rails.application.configure do
53
56
  # Highlight code that triggered database queries in logs.
54
57
  config.active_record.verbose_query_logs = true
55
58
 
56
- # Debug mode disables concatenation and preprocessing of assets.
57
- # This option may cause significant delays in view rendering with a large
58
- # number of complex assets.
59
- config.assets.debug = true
60
-
61
59
  # Suppress logger output for asset requests.
62
60
  config.assets.quiet = true
63
61
 
@@ -67,10 +65,6 @@ Rails.application.configure do
67
65
  # Annotate rendered view with file names.
68
66
  # config.action_view.annotate_rendered_view_with_filenames = true
69
67
 
70
- # Use an evented file watcher to asynchronously detect changes in source code,
71
- # routes, locales, etc. This feature depends on the listen gem.
72
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
73
-
74
68
  # Uncomment if you wish to allow Action Cable access from any origin.
75
69
  # config.action_cable.disable_request_forgery_protection = true
76
70
  end
@@ -22,7 +22,7 @@ Rails.application.configure do
22
22
 
23
23
  # Disable serving static files from the `/public` folder by default since
24
24
  # Apache or NGINX already handles this.
25
- config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
25
+ config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present?
26
26
 
27
27
  # Compress CSS using a preprocessor.
28
28
  # config.assets.css_compressor = :sass
@@ -31,19 +31,19 @@ Rails.application.configure do
31
31
  config.assets.compile = false
32
32
 
33
33
  # Enable serving of images, stylesheets, and JavaScripts from an asset server.
34
- # config.asset_host = 'http://assets.example.com'
34
+ # config.asset_host = "http://assets.example.com"
35
35
 
36
36
  # Specifies the header that your server uses for sending files.
37
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
38
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
37
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
38
+ # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
39
39
 
40
40
  # Store uploaded files on the local file system (see config/storage.yml for options).
41
41
  config.active_storage.service = :local
42
42
 
43
43
  # Mount Action Cable outside main process or domain.
44
44
  # config.action_cable.mount_path = nil
45
- # config.action_cable.url = 'wss://example.com/cable'
46
- # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
45
+ # config.action_cable.url = "wss://example.com/cable"
46
+ # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
47
47
 
48
48
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
49
49
  # config.force_ssl = true
@@ -60,7 +60,7 @@ Rails.application.configure do
60
60
 
61
61
  # Use a real queuing backend for Active Job (and separate queues per environment).
62
62
  # config.active_job.queue_adapter = :resque
63
- # config.active_job.queue_name_prefix = "sample_6_1_4_production"
63
+ # config.active_job.queue_name_prefix = "sample_7_0_0_production"
64
64
 
65
65
  config.action_mailer.perform_caching = false
66
66
 
@@ -72,21 +72,15 @@ Rails.application.configure do
72
72
  # the I18n.default_locale when a translation cannot be found).
73
73
  config.i18n.fallbacks = true
74
74
 
75
- # Send deprecation notices to registered listeners.
76
- config.active_support.deprecation = :notify
77
-
78
- # Log disallowed deprecations.
79
- config.active_support.disallowed_deprecation = :log
80
-
81
- # Tell Active Support which deprecation messages to disallow.
82
- config.active_support.disallowed_deprecation_warnings = []
75
+ # Don't log any deprecations.
76
+ config.active_support.report_deprecations = false
83
77
 
84
78
  # Use default logging formatter so that PID and timestamp are not suppressed.
85
79
  config.log_formatter = ::Logger::Formatter.new
86
80
 
87
81
  # Use a different logger for distributed setups.
88
82
  # require "syslog/logger"
89
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
83
+ # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name")
90
84
 
91
85
  if ENV["RAILS_LOG_TO_STDOUT"].present?
92
86
  logger = ActiveSupport::Logger.new(STDOUT)
@@ -96,25 +90,4 @@ Rails.application.configure do
96
90
 
97
91
  # Do not dump schema after migrations.
98
92
  config.active_record.dump_schema_after_migration = false
99
-
100
- # Inserts middleware to perform automatic connection switching.
101
- # The `database_selector` hash is used to pass options to the DatabaseSelector
102
- # middleware. The `delay` is used to determine how long to wait after a write
103
- # to send a subsequent read to the primary.
104
- #
105
- # The `database_resolver` class is used by the middleware to determine which
106
- # database is appropriate to use based on the time delay.
107
- #
108
- # The `database_resolver_context` class is used by the middleware to set
109
- # timestamps for the last write to the primary. The resolver uses the context
110
- # class timestamps to determine how long to wait before reading from the
111
- # replica.
112
- #
113
- # By default Rails will store a last write timestamp in the session. The
114
- # DatabaseSelector middleware is designed as such you can define your own
115
- # strategy for connection switching and pass that into the middleware through
116
- # these configuration options.
117
- # config.active_record.database_selector = { delay: 2.seconds }
118
- # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
119
- # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
120
93
  end
@@ -8,18 +8,18 @@ require "active_support/core_ext/integer/time"
8
8
  Rails.application.configure do
9
9
  # Settings specified here will take precedence over those in config/application.rb.
10
10
 
11
- config.cache_classes = false
12
- config.action_view.cache_template_loading = true
11
+ # Turn false under Spring and add config.action_view.cache_template_loading = true
12
+ config.cache_classes = true
13
13
 
14
- # Do not eager load code on boot. This avoids loading your whole application
15
- # just for the purpose of running a single test. If you are using a tool that
16
- # preloads Rails for running tests, you may have to set it to true.
17
- config.eager_load = false
14
+ # Eager loading loads your whole application. When running a single test locally,
15
+ # this probably isn't necessary. It's a good idea to do in a continuous integration
16
+ # system, or in some way before deploying your code.
17
+ config.eager_load = ENV["CI"].present?
18
18
 
19
19
  # Configure public file server for tests with Cache-Control for performance.
20
20
  config.public_file_server.enabled = true
21
21
  config.public_file_server.headers = {
22
- 'Cache-Control' => "public, max-age=#{1.hour.to_i}"
22
+ "Cache-Control" => "public, max-age=#{1.hour.to_i}"
23
23
  }
24
24
 
25
25
  # Show full error reports and disable caching.
@@ -0,0 +1,7 @@
1
+ # Pin npm packages by running ./bin/importmap
2
+
3
+ pin "application", preload: true
4
+ pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
5
+ pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
6
+ pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
7
+ pin_all_from "app/javascript/controllers", under: "controllers"
@@ -1,12 +1,10 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
3
  # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
4
+ Rails.application.config.assets.version = "1.0"
5
5
 
6
6
  # Add additional assets to the asset load path.
7
7
  # Rails.application.config.assets.paths << Emoji.images_path
8
- # Add Yarn node_modules folder to the asset load path.
9
- Rails.application.config.assets.paths << Rails.root.join('node_modules')
10
8
 
11
9
  # Precompile additional assets.
12
10
  # application.js, application.css, and all non-JS/CSS in the app/assets
@@ -4,27 +4,23 @@
4
4
  # For further information see the following documentation
5
5
  # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
6
6
 
7
- # Rails.application.config.content_security_policy do |policy|
8
- # policy.default_src :self, :https
9
- # policy.font_src :self, :https, :data
10
- # policy.img_src :self, :https, :data
11
- # policy.object_src :none
12
- # policy.script_src :self, :https
13
- # policy.style_src :self, :https
14
- # # If you are using webpack-dev-server then specify webpack-dev-server host
15
- # policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development?
16
-
17
- # # Specify URI for violation reports
18
- # # policy.report_uri "/csp-violation-report-endpoint"
7
+ # Rails.application.configure do
8
+ # config.content_security_policy do |policy|
9
+ # policy.default_src :self, :https
10
+ # policy.font_src :self, :https, :data
11
+ # policy.img_src :self, :https, :data
12
+ # policy.object_src :none
13
+ # policy.script_src :self, :https
14
+ # policy.style_src :self, :https
15
+ # # Specify URI for violation reports
16
+ # # policy.report_uri "/csp-violation-report-endpoint"
17
+ # end
18
+ #
19
+ # # Generate session nonces for permitted importmap and inline scripts
20
+ # config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
21
+ # config.content_security_policy_nonce_directives = %w(script-src)
22
+ #
23
+ # # Report CSP violations to a specified URI. See:
24
+ # # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
25
+ # # config.content_security_policy_report_only = true
19
26
  # end
20
-
21
- # If you are using UJS then enable automatic nonce generation
22
- # Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
23
-
24
- # Set the nonce only to specific directives
25
- # Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
26
-
27
- # Report CSP violations to a specified URI
28
- # For further information see the following documentation:
29
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
30
- # Rails.application.config.content_security_policy_report_only = true
@@ -4,13 +4,13 @@
4
4
  # are locale specific, and you may define rules for as many different
5
5
  # locales as you wish. All of these examples are active by default:
6
6
  # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
7
+ # inflect.plural /^(ox)$/i, "\\1en"
8
+ # inflect.singular /^(ox)en/i, "\\1"
9
+ # inflect.irregular "person", "people"
10
10
  # inflect.uncountable %w( fish sheep )
11
11
  # end
12
12
 
13
13
  # These inflection rules are supported but not enabled by default:
14
14
  # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
15
+ # inflect.acronym "RESTful"
16
16
  # end
data/config/puma.rb CHANGED
@@ -39,5 +39,5 @@ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
39
39
  #
40
40
  # preload_app!
41
41
 
42
- # Allow puma to be restarted by `rails restart` command.
42
+ # Allow puma to be restarted by `bin/rails restart` command.
43
43
  plugin :tmp_restart
data/config/storage.yml CHANGED
@@ -6,27 +6,27 @@ local:
6
6
  service: Disk
7
7
  root: <%= Rails.root.join("storage") %>
8
8
 
9
- # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
9
+ # Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
10
  # amazon:
11
11
  # service: S3
12
12
  # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
13
  # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
14
  # region: us-east-1
15
- # bucket: your_own_bucket
15
+ # bucket: your_own_bucket-<%= Rails.env %>
16
16
 
17
17
  # Remember not to checkin your GCS keyfile to a repository
18
18
  # google:
19
19
  # service: GCS
20
20
  # project: your_project
21
21
  # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
- # bucket: your_own_bucket
22
+ # bucket: your_own_bucket-<%= Rails.env %>
23
23
 
24
- # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
24
+ # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
25
  # microsoft:
26
26
  # service: AzureStorage
27
27
  # storage_account_name: your_account_name
28
28
  # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
- # container: your_container_name
29
+ # container: your_container_name-<%= Rails.env %>
30
30
 
31
31
  # mirror:
32
32
  # service: Mirror
@@ -1,5 +1,6 @@
1
1
  module DryerConfig
2
- VERSION = '6.1.4' # 2021-06-27
2
+ VERSION = '7.0.0' # 2021-12-18
3
+ # VERSION = '6.1.4' # 2021-06-27
3
4
  # VERSION = '6.0.3' # 2020-05-08
4
5
  # VERSION = '6.0.2' # 2020-02-25
5
6
  # VERSION = '6.0.0' # 2019-10-07
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryer-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.4
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-27 00:00:00.000000000 Z
11
+ date: 2021-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - ".ruby-gemset"
63
64
  - ".ruby-version"
64
65
  - MIT-LICENSE
65
66
  - README.md
@@ -72,24 +73,14 @@ files:
72
73
  - config/environments/development.rb
73
74
  - config/environments/production.rb
74
75
  - config/environments/test.rb
75
- - config/initializers/application_controller_renderer.rb
76
+ - config/importmap.rb
76
77
  - config/initializers/assets.rb
77
- - config/initializers/backtrace_silencers.rb
78
78
  - config/initializers/content_security_policy.rb
79
- - config/initializers/cookies_serializer.rb
80
79
  - config/initializers/filter_parameter_logging.rb
81
80
  - config/initializers/inflections.rb
82
- - config/initializers/mime_types.rb
83
81
  - config/initializers/permissions_policy.rb
84
- - config/initializers/wrap_parameters.rb
85
82
  - config/puma.rb
86
- - config/spring.rb
87
83
  - config/storage.yml
88
- - config/webpack/development.js
89
- - config/webpack/environment.js
90
- - config/webpack/production.js
91
- - config/webpack/test.js
92
- - config/webpacker.yml
93
84
  - dryer-config.gemspec
94
85
  - lib/dryer-config.rb
95
86
  - lib/dryer-config/engine.rb
@@ -114,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
105
  - !ruby/object:Gem::Version
115
106
  version: '0'
116
107
  requirements: []
117
- rubygems_version: 3.2.15
108
+ rubygems_version: 3.2.32
118
109
  signing_key:
119
110
  specification_version: 4
120
111
  summary: Several pristine Rails config files.
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # ActiveSupport::Reloader.to_prepare do
4
- # ApplicationController.renderer.defaults.merge!(
5
- # http_host: 'example.org',
6
- # https: false
7
- # )
8
- # end
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
7
- # by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
8
- Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Specify a serializer for the signed and encrypted cookie jars.
4
- # Valid options are :json, :marshal, and :hybrid.
5
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
data/config/spring.rb DELETED
@@ -1,6 +0,0 @@
1
- Spring.watch(
2
- ".ruby-version",
3
- ".rbenv-vars",
4
- "tmp/restart.txt",
5
- "tmp/caching-dev.txt"
6
- )
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2
-
3
- const environment = require('./environment')
4
-
5
- module.exports = environment.toWebpackConfig()
@@ -1,3 +0,0 @@
1
- const { environment } = require('@rails/webpacker')
2
-
3
- module.exports = environment
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'production'
2
-
3
- const environment = require('./environment')
4
-
5
- module.exports = environment.toWebpackConfig()
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2
-
3
- const environment = require('./environment')
4
-
5
- module.exports = environment.toWebpackConfig()
data/config/webpacker.yml DELETED
@@ -1,92 +0,0 @@
1
- # Note: You must restart bin/webpack-dev-server for changes to take effect
2
-
3
- default: &default
4
- source_path: app/javascript
5
- source_entry_path: packs
6
- public_root_path: public
7
- public_output_path: packs
8
- cache_path: tmp/cache/webpacker
9
- webpack_compile_output: true
10
-
11
- # Additional paths webpack should lookup modules
12
- # ['app/assets', 'engine/foo/app/assets']
13
- additional_paths: []
14
-
15
- # Reload manifest.json on all requests so we reload latest compiled packs
16
- cache_manifest: false
17
-
18
- # Extract and emit a css file
19
- extract_css: false
20
-
21
- static_assets_extensions:
22
- - .jpg
23
- - .jpeg
24
- - .png
25
- - .gif
26
- - .tiff
27
- - .ico
28
- - .svg
29
- - .eot
30
- - .otf
31
- - .ttf
32
- - .woff
33
- - .woff2
34
-
35
- extensions:
36
- - .mjs
37
- - .js
38
- - .sass
39
- - .scss
40
- - .css
41
- - .module.sass
42
- - .module.scss
43
- - .module.css
44
- - .png
45
- - .svg
46
- - .gif
47
- - .jpeg
48
- - .jpg
49
-
50
- development:
51
- <<: *default
52
- compile: true
53
-
54
- # Reference: https://webpack.js.org/configuration/dev-server/
55
- dev_server:
56
- https: false
57
- host: localhost
58
- port: 3035
59
- public: localhost:3035
60
- hmr: false
61
- # Inline should be set to true if using HMR
62
- inline: true
63
- overlay: true
64
- compress: true
65
- disable_host_check: true
66
- use_local_ip: false
67
- quiet: false
68
- pretty: false
69
- headers:
70
- 'Access-Control-Allow-Origin': '*'
71
- watch_options:
72
- ignored: '**/node_modules/**'
73
-
74
-
75
- test:
76
- <<: *default
77
- compile: true
78
-
79
- # Compile test packs to a separate directory
80
- public_output_path: packs-test
81
-
82
- production:
83
- <<: *default
84
-
85
- # Production depends on precompilation of packs prior to booting for performance.
86
- compile: false
87
-
88
- # Extract and emit a css file
89
- extract_css: true
90
-
91
- # Cache manifest.json for performance
92
- cache_manifest: true