Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Data from HTMLWebpackPlugin templateParametters #9

@ryuran

Description

@ryuran

Currently we need to use data option from this loader to add some data it twig template.
But svg-sprite-loader add sprites in htmlwebpackplugin.files.sprites and we can't access to this variable in twig file.

Can we add HTMLWebpackPlugin templateParameters function output as default data or accessible in data function?

https://github.com/kisenka/svg-sprite-loader/tree/master/examples/interop-with-html-webpack-plugin

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions