Hi All,
I am using Ionic 2 rc3
. I have just upgraded from the Ionic 2 beta
, where I was using the following:
declare var require: any
'use strict';
var Encrypt = require('./jsencrypt.min');
import { Injectable, Inject } from "@angular/core";
This was working with the beta
, because jsencrypt.min.js
is in the same folder. But since the upgrade, I get the following in the console:
Error: Cannot find module "./jsencrypt.min"
Any suggestions appreciated.