Skip to content

Commit

Permalink
fix jit compilation for angular elements
Browse files Browse the repository at this point in the history
Fixes #47
  • Loading branch information
ocombe committed Jul 6, 2022
1 parent f385f19 commit ded0251
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '@angular/compiler';
import { Injector, NgModuleRef, Type } from '@angular/core';
import { createCustomElement } from '@angular/elements';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import '@angular/compiler';
import './native-shim.js';
import 'zone.js/dist/zone';
import { AppModule } from './main';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
// required here to make sure that this is loaded before the compositions file
import '@angular/compiler';

import { loadAngularElement } from './loader';

Expand Down

0 comments on commit ded0251

Please sign in to comment.