Statistics
26200
33
2
30d
Badges
Dependencies
  • 2.0.0 2.0.0

    🎉 The package has been transferred to @contributte!

    The package is now available on Packagist both under the original name oops/webpack-nette-adapter and the new contributte/webpack. Both retain the same version history, but the latter is now preferred and the former is marked as abandoned in favour of the new package.

    The transition led to a breaking change in namespace to Contributte\Webpack. Please update your code and configuration accordingly.

    There should be no other breaking changes.

    tl;dr

    • composer remove oops/webpack-nette-adapter
    • composer require contributte/webpack
    • replace the namespace in your configuration:
      extensions:
      -     webpack: Oops\WebpackNetteAdapter\DI\WebpackExtension(%debugMode%, %consoleMode%)
      +     webpack: Contributte\Webpack\DI\WebpackExtension(%debugMode%, %consoleMode%)
  • 1.4.0 1.4.0

    • ✨ You can now use manifest plugins other than webpack-manifest-plugin, using mappers to map the plugin's structure to the flat structure expected by WebpackNetteAdapter. (#17, thanks @rattuscz!)
    • 🔧 Guzzle 7.0 is supported. (#18, thanks @solcik!)
  • 1.3.1 1.3.1

    • 🐞 Fixed BuildDirectoryProvider pointing to public URL of dev server instead of the internal one if a public URL is configured. (#16)
  • 1.3.0 1.3.0

    • ✨ You can now configure the DevServer with a different internal and public URL for easier use in environments such as a Docker Compose network. (#13, thanks @martinjinda!)
  • 1.2.0 1.2.0

    • 🔧 Minimum required version of PHP is now 7.2, and up to 7.4 is supported.
    • 🐞 AssetLocator trims extra leading slashes that might force the browser to treat the asset name as a protocol-less absolute URL.
    • 🐞 WebpackNetteAdapter no longer tries to pre-load assets manifest when running the application in CLI, preventing failures when the assets are not built. If you use CLI to warmup DI container cache, you can bypass this behaviour by setting the OOPS_WEBPACK_OPTIMIZE_MANIFEST env variable to a truthy value.
    • ✨ You can configure AssetLocator to ignore certain asset names when the dev-server is available. Ignored assets are resolved to an empty Data URI. This is particularly helpful if you use style-loader in development which does not emit any CSS files.
  • 1.1.0 1.1.0

    • This release brings compatibility with Nette 3.0 🎉 (as well as Nette 2.4 at the same time). Also, PHP version requirement has been raised to 7.1.
    • Some hidden hard dependencies on Nette packages (such as nette/application or nette/http) have been removed, so that WebpackNetteAdapter can be employed even in less traditional development stacks.
    • The timeout of DevServer's heartbeat check is now configurable, defaulting to the current value of 100 ms.

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com