Skip to content

The console error log does not print correctly when there is an unknown variable in the index.html template #1070

Closed
@wolfstark

Description

@wolfstark

Because I accidentally annotated a code, the error log can not be printed correctly, I can not find the source of the BUG.

    new webpack.DefinePlugin({
      'process.env': require('../config/dev.env')
      // doman: JSON.stringify('http://cm.cn'),
    }), 

image
The print result I expect is below, so that I can find the problem.

error:Template execution failed: ReferenceError: doman is not defined

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions