Skip to content

Empty JS files are generated as part of build #6778

Closed
@westonruter

Description

@westonruter

Bug Description

Webpack is creating empty JS files when it is processing stylesheets:

image

These need to be omitted from the build, either by preventing them from being generated or by deleting them after running webpack.

Expected Behaviour

No empty JS files should be created.

Screenshots

No response

PHP Version

No response

Plugin Version

2.2

AMP plugin template mode

Standard, Transitional, Reader

WordPress Version

No response

Site Health

No response

Gutenberg Version

No response

OS(s) Affected

No response

Browser(s) Affected

No response

Device(s) Affected

No response

Acceptance Criteria

No response

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingChangeloggedWhether the issue/PR has been added to release notes.InfrastructureChanges impacting testing infrastructure or build tooling

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions