Sha256: 56517699c16b16bcabff9dd31593652361bd60753773ec4cc0f8eef5fbd8486f

Contents?: true

Size: 1.95 KB

Versions: 14

Compression:

Stored size: 1.95 KB

Contents

# Note: You must restart bin/shakapacker-dev-server for changes to take effect

default: &default
  source_path: app/javascript
  source_entry_path: entrypoints
  public_output_path: packs
  cache_path: tmp/shakapacker
  webpack_loader: babel

  # Additional paths webpack should look up modules
  # ['app/assets', 'engine/foo/app/assets']
  additional_paths:
    - app/assets
    - /etc/yarn

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

  extensions:
    - .js
    - .sass
    - .scss
    - .css
    - .module.sass
    - .module.scss
    - .module.css
    - .png
    - .svg
    - .gif
    - .jpeg
    - .jpg

development:
  <<: *default
  compile: true

  # Reference: https://webpack.js.org/configuration/dev-server/
  dev_server:
    https: false
    host: localhost
    port: 3035
    public: localhost:3035
    hmr: false
    # If HMR is on, CSS will by inlined by delivering it as part of the script payload via style-loader. Be sure
    # that you add style-loader to your project dependencies.
    #
    # If you want to instead deliver CSS via <link> with the mini-extract-css-plugin, set inline_css to false.
    # In that case, style-loader is not needed as a dependency.
    #
    # mini-extract-css-plugin is a required dependency in both cases.
    inline_css: true
    overlay: true
    disable_host_check: true
    use_local_ip: false

test:
  <<: *default
  compile: true

  # Compile test packs to a separate directory
  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

staging:
  <<: *default

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

  # Cache manifest.json for performance
  cache_manifest: true

  # Compile staging packs to a separate directory
  public_output_path: packs-staging

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shakapacker-7.2.3 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.3.0.beta.1 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.2.2 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.2.1 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.2.0 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.2.0.rc.0 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.1.0 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.3 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.2 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.1 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.0 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.0.rc.2 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.0.rc.1 spec/mounted_app/test/dummy/config/webpacker.yml
shakapacker-7.0.0.rc.0 spec/mounted_app/test/dummy/config/webpacker.yml