Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Integration with @symfony/encore project #102

Closed
TheCelavi opened this issue Jun 16, 2017 · 2 comments
Closed

[Feature] Integration with @symfony/encore project #102

TheCelavi opened this issue Jun 16, 2017 · 2 comments

Comments

@TheCelavi
Copy link

Following the discussion from symfony/webpack-encore#5 (comment) it seams that it would be very convenient to support auto-configuration of project's webpack.config.js with installation of Symfony bundle as well in similar manner as it is supported for registration of bundle, routes, configuration etc...

Stated issue above deals with precondition of enabling such thing (bundle asset locator syntax), however, if it is resolved successfully (I believe it will), does Symfony Flex project team consider addition of such feature possible in the future?

@Pierstoval
Copy link
Contributor

There could be a symfony/encore-bootstrap package or similar that would simply install a package.json & webpack.config.js file, for example, could be aliased with encore, and we would use composer req encore. But it still seems very strange to mix php & nodejs packages.

I don't like the idea of having Encore in the FrameworkBundle recipe, not everyone would use it.

@fabpot
Copy link
Member

fabpot commented Jul 21, 2017

see symfony/recipes#108

@fabpot fabpot closed this as completed Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants