Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Universal issue due to packaging format issue #354

@cyrilletuzi

Description

@cyrilletuzi

I run an app with Material and FlexLayout, server-side rendered with the new option of @angular/cli 1.3.0-rc.

No problem with Material, but FlexLayout generates this error :

/node_modules/@angular/flex-layout/media-query/breakpoints/break-points-token.js:8
import { InjectionToken } from '@angular/core';
^^^^^^

SyntaxError: Unexpected token import

I suspect it's because flex-layout is not distributed in the official way like other Angular modules. Some entry points (main, module, es2015, umd...) are missing compared to other Angular packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issue that needs to be resolved immediatelyhas prA PR has been created to address this issuessr

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions