diff --git a/examples/src/highchartsModuleExample.ts b/examples/src/highchartsModuleExample.ts index 70b6677..3f544fd 100644 --- a/examples/src/highchartsModuleExample.ts +++ b/examples/src/highchartsModuleExample.ts @@ -1,9 +1,7 @@ import {Component} from '../../node_modules/@angular/core'; import { Jsonp } from '../../node_modules/@angular/http'; import { Highcharts } from '../../index'; - -declare var require: any; -const Highcharts3d = require('../../node_modules/highcharts/highcharts-3d.js'); +import * as Highcharts3d from 'highcharts/highcharts-3d'; Highcharts3d(Highcharts);