Skip to content

SimplrJS/systemjs-plugin-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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