File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 11# systemjs-plugin-empty
22SystemJS 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
You can’t perform that action at this time.
0 commit comments