JSPM

ima-plugin-resource-loader

0.14.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23542F
  • License MIT

Seznam IMA.js plugin for loading web resources

Package Exports

  • ima-plugin-resource-loader

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';
*/