Skip to content

"Circular reference detected" warning on watch #32

@avaly

Description

@avaly

Using grunt-webpack 1.0.8, webpack 1.4.8, extract-text-webpack-plugin 0.3.3, style-loader 0.8.1, css-loader 0.9.0, less-loader 0.7.7, running grunt-wepack on a watch task, the first time the watch task triggers it compiles everything fine, but the second time the watch task triggers it throws the following warning and does not compile anything:

Running "webpack:dev" (webpack) task
Warning: Circular reference detected (.plugins[0].modulesByIdentifier["/src/project/node_modules/css-loader/index.js!/src/project/node_modules/less-loader/index.js!/src/project/ui/src/less/index.less"].chunks[0].modules[0])

This warning appeared after we bump a few dependencies on our project. Previously we had the following versions: grunt-webpack 1.0.8, webpack 1.4.4, extract-text-webpack-plugin 0.2.5, style-loader 0.7.0, css-loader 0.7.1, less-loader 0.7.7 and we didn't experience this warning on the same set of files.

Don't know exactly which module is responsible for this error, but since the error message is specific to grunt, I just post this here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions