Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 588 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 588 Bytes

plugin-json

CDNJS

JSON loader plugin

Configuration

To load all URLs with .json filename extension via this plugin:

SystemJS.config({
  map: { 'plugin-json': 'plugin-json/json.js' },
  meta: { '*.json': { loader: 'plugin-json' } }
});

Testing this project

npm test

browse to http://localhost:3000/test and open the browser's development console. You should see the json object logged.