https://github.com/simplrjs/systemjs-plugin-empty
SystemJS plugin to ignore files
https://github.com/simplrjs/systemjs-plugin-empty
empty plugin systemjs systemjs-plugin
Last synced: 18 days ago
JSON representation
SystemJS plugin to ignore files
- Host: GitHub
- URL: https://github.com/simplrjs/systemjs-plugin-empty
- Owner: SimplrJS
- License: mit
- Created: 2017-09-28T13:13:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T14:08:55.000Z (almost 8 years ago)
- Last Synced: 2025-02-11T23:42:37.036Z (5 months ago)
- Topics: empty, plugin, systemjs, systemjs-plugin
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```js
SystemJS.config({
map: {
"@plugin-empty": "node_modules/systemjs-plugin-empty/empty.js"
}
});
```## Setup
To load with the plugin set:```js
SystemJS.config({
meta: {
"*.css": { loader: "@plugin-empty" },
"*.ext": { loader: "@plugin-empty" }
}
});
```Or via package configuration:
```js
SystemJS.config({
packages: {
"src/": {
meta: {
"*.css": { loader: "@plugin-empty" },
"*.ext": { loader: "@plugin-empty" }
}
}
}
});
```## License
MIT