Skip to content

__dirname is not defined #2

Open
@bruceandroid

Description

@bruceandroid

After updating my project to Angular 8, this formatter always gives me an error saying that __dirname in the first three lines of render.js is not defined.
If you change these lines to:
var closing = require('./closing.js');
var entity = require('./entity.js');
var minify = require('./minify.js');
It works again! Is this the best solution and can you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions