akveo / akveo/ng2-smart-table

use of browser object like window, document causing ng production build fail

Open
#564 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

angular 4 production build fails because of module not found error for browser object like window, document.

webpack production build fails as

main-client.js 268 kB 0 [emitted] [big] main-client

ERROR in window is not defined

ERROR in ./ClientApp/boot.browser.ts
Module not found: Error: Can't resolve './../$$_gendir/ClientApp/app/app.module.browser.ngfactory

can anyone help with this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.