Sha256: 33a92d4fb73c1f4bd1c7709780e55110de062c5a501504c7314a160b078393b9

Contents?: true

Size: 1.77 KB

Versions: 35

Compression:

Stored size: 1.77 KB

Contents

# File written by Decidim generator
# Note: You must restart bin/webpack-dev-server for changes to take effect

default: &default
  source_path: app/packs
  source_entry_path: entrypoints
  public_output_path: decidim-packs
  public_root_path: public
  webpack_compile_output: true
  cache_path: tmp/webpacker-cache
  extract_css: true

  additional_paths:
    - node_modules
    - app/packs

  # Reload manifest.json on all requests so we reload latest compiled packs
  cache_manifest: false

development:
  <<: *default
  compile: true
  # Compile test packs to decidim decidim-packs folder

  # Reference: https://webpack.js.org/configuration/dev-server/
  dev_server:
    https: false
    host: localhost
    # Notice that we use a different port (to prevent blocking the default one) as
    # there will be at least two webpack servers running
    port: 3035
    # Hot Module Replacement updates modules while the application is running without a full reload
    hmr: false
    client:
      # Should we show a full-screen overlay in the browser when there are compiler errors or warnings?
      overlay: true
      # May also be a string
      # webSocketURL:
      #  hostname: "0.0.0.0"
      #  pathname: "/ws"
      #  port: 8080
    # Should we use gzip compression?
    compress: true
    # Note that apps that do not check the host are vulnerable to DNS rebinding attacks
    allowed_hosts: "all"
    pretty: true
    headers:
      'Access-Control-Allow-Origin': '*'
    static:
      watch:
        ignored: '**/node_modules/**'

test:
  <<: *default
  compile: true
  public_output_path: packs-test

production:
  <<: *default

  # Production depends on precompilation of packs prior to booting for performance.
  compile: false

  # Cache manifest.json for performance
  cache_manifest: true

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
decidim-0.26.10 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.10 lib/decidim/webpacker/webpacker.yml
decidim-0.26.9 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.9 lib/decidim/webpacker/webpacker.yml
decidim-0.26.8 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.8 lib/decidim/webpacker/webpacker.yml
decidim-0.26.7 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.7 lib/decidim/webpacker/webpacker.yml
decidim-0.26.5 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.5 lib/decidim/webpacker/webpacker.yml
decidim-0.26.4 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.4 lib/decidim/webpacker/webpacker.yml
decidim-0.26.3 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.3 lib/decidim/webpacker/webpacker.yml
decidim-0.26.2 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.2 lib/decidim/webpacker/webpacker.yml
decidim-0.26.1 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.1 lib/decidim/webpacker/webpacker.yml
decidim-0.26.0 decidim-core/lib/decidim/webpacker/webpacker.yml
decidim-core-0.26.0 lib/decidim/webpacker/webpacker.yml