JSPM

  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q59200F
  • License MIT

Seznam IMA.js plugin for loading web resources

Package Exports

  • @ima/plugin-resource-loader
  • @ima/plugin-resource-loader/dist/cjs/main.js
  • @ima/plugin-resource-loader/dist/esm/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ima/plugin-resource-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@ima/plugin-resource-loader

This is the base plugin for loading scripts and styles for the IMA.js application. You can find the IMA.js skeleton application at https://github.com/seznam/IMA.js-skeleton or follow link https://imajs.io.

Installation

npm install @ima/plugin-resource-loader --save
// /app/build.js

var vendors = {
    common: [
        '@ima/plugin-resource-loader'
    ]
};

/*
Now is script loader plugin available as:

import { ResourceLoader } from '@ima/plugin-resource-loader';
*/