Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Encore] Add docs on how to add extra webpack config #8067

Copy link
Copy link
Closed
@weaverryan

Description

@weaverryan
Issue body actions

Encore doesn't support adding all of Webpack's options... because many are easy enough for you to add yourself. For example (from symfony/webpack-encore#35), if you want to add watchOptions, I think we should encourage you to add those yourself:

// webpack.config.js

var Encore = require('@symfony/webpack-encore');

// all Encore config here

var config = Encore.getWebpackConfig();

config.watchOptions = { poll: true, ignored: /node_modules/ };

module.exports = config;

Metadata

Metadata

Assignees

No one assigned

    Labels

    front-endhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.