Skip to content

Commit adeb0ca

Browse files
author
Giedrius Grabauskas
committed
Initial readme.
1 parent 628bfc9 commit adeb0ca

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
11
# systemjs-plugin-empty
22
SystemJS plugin to ignore files
3+
4+
## Installation
5+
For installing with JSPM:
6+
7+
```
8+
jspm install @plugin-empty=npm:systemjs-plugin-empty
9+
```
10+
11+
For use with SystemJS natively:
12+
13+
```
14+
npm install systemjs-plugin-empty
15+
```
16+
17+
Then add the configuration:
18+
19+
```js
20+
SystemJS.config({
21+
map: {
22+
"@plugin-empty": "node_modules/systemjs-plugin-empty/empty.js"
23+
}
24+
});
25+
```
26+
27+
## Setup
28+
To load with the plugin set:
29+
30+
```js
31+
SystemJS.config({
32+
meta: {
33+
"*.css": { loader: "@plugin-empty" },
34+
"*.ext": { loader: "@plugin-empty" }
35+
}
36+
});
37+
```
38+
39+
Or via package configuration:
40+
41+
```js
42+
SystemJS.config({
43+
packages: {
44+
"src/": {
45+
meta: {
46+
"*.css": { loader: "@plugin-empty" },
47+
"*.ext": { loader: "@plugin-empty" }
48+
}
49+
}
50+
}
51+
});
52+
```
53+
54+
## License
55+
MIT

0 commit comments

Comments
 (0)