0.0.2 • Published 7 years ago

systemjs-plugin-empty v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

systemjs-plugin-empty

SystemJS plugin to ignore files

Installation

For installing with JSPM:

jspm install @plugin-empty=npm:systemjs-plugin-empty

For use with SystemJS natively:

npm install systemjs-plugin-empty

Then add the configuration:

SystemJS.config({
  map: {
     "@plugin-empty": "node_modules/systemjs-plugin-empty/empty.js"
  }
});

Setup

To load with the plugin set:

SystemJS.config({
  meta: {
    "*.css": { loader: "@plugin-empty" },
    "*.ext": { loader: "@plugin-empty" }
  }
});

Or via package configuration:

SystemJS.config({
  packages: {
    "src/": {
      meta: {
        "*.css": { loader: "@plugin-empty" },
        "*.ext": { loader: "@plugin-empty" }
      }
    }
  }
});

License

MIT