Skip to content

JS modules can be imported and executed from CSS #462

Closed
@darrenscerri

Description

@darrenscerri

Do you want to request a feature or report a bug?

Bug

What is the current behavior?
Although this might be intended, it might not be correct to require certain files such as Javascript files from CSS.

If the current behavior is a bug, please provide the steps to reproduce.
See this repo for more information: https://github.com/darrenscerri/webpack-extract-text-plugin-empty-require-error.

Related issues:
webpack/webpack#4541
webpack-contrib/extract-text-webpack-plugin#465

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions