I've compiled several js files into one SFX as described in https://github.com/systemjs/builder#example---common-bundles (although using '+' instead of '&', but this part seems to be working):  gulp.task('systemjs', [&...
I can't seem to figure out how to import JSNLog into my ES6 (babel) based Aurelia project.  I've tried:  import 'jsnlog';            // JL is undefined import JL from 'jsnlog';    // JL is {} import {JL} from 'jsnlog';...
I have this class where I try to instantiate Ajv with the new keyword and I get this error:     TypeError: Ajv is not a constructor   Code:  import * as Ajv from "ajv";      export class ValidateJsonService {         validateJson(json, schema...
I have a working Aurelia SPA web app, but if I set in my web.config the Content-Security-Policy option like this  <add name="X-Content-Security-Policy" value="default-src 'none'; frame-src 'self'; script-src 'self&#...
I see in various JavaScript files lately the following string at the top:  "format register";   What is this for?  I see it in angular 2 and systemJS library files....
I am trying to run some unit tests for few days now without success. My application is written in typescript (the unit tests are written in typescript as well). Here is my karma configuration file:  module.exports = function (config) {   config.set({...
I'm trying to use bootstrap-tagsinput library in my Angular2 project. The library is installed using package.json file:    "dependencies": {     ...     "bootstrap-tagsinput": "^0.7.1",     ...   }   Now I have a bootstrap...
I'm using SystemJS to load my es2015 project into the browser.   This is what I did  import {Observable} from 'rxjs/Rx';  const button = document.querySelector('button'); const start$ = Observable.fromEvent(button, 'click'...
Using TypeScript with SystemJS, how can I import a JSON file using plugin-json?  If I write System.import('myjson.json!json').then(...) then it imports it asynchronously and not as a part of System.register([...]).  So, how can I import a JSO...
I'm trying to figure out a good production workflow that plays nice with the development workflow. The need is to exclude 1MB of external libraries from the build, then use a CDN to host them separately. So we have this:  <script src="jspm...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.