Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__dirname is not defined #2

Open
bruceandroid opened this issue Jan 9, 2020 · 0 comments
Open

__dirname is not defined #2

bruceandroid opened this issue Jan 9, 2020 · 0 comments

Comments

@bruceandroid
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant