main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
744 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | var create = require('../index').create;
|
---|
4 | var addonStable = require('../addon/stable').addon;
|
---|
5 | var addonNesting = require('../addon/nesting').addon;
|
---|
6 | var addonAtoms = require('../addon/atoms').addon;
|
---|
7 | var addonKeyframes = require('../addon/keyframes').addon;
|
---|
8 | var addonRule = require('../addon/rule').addon;
|
---|
9 | var addonSheet = require('../addon/sheet').addon;
|
---|
10 | var addonSourcemaps = require('../addon/sourcemaps').addon;
|
---|
11 |
|
---|
12 | exports.preset = function (config) {
|
---|
13 | var nano = create(config);
|
---|
14 |
|
---|
15 | addonStable(nano);
|
---|
16 | addonNesting(nano);
|
---|
17 | addonAtoms(nano);
|
---|
18 | addonKeyframes(nano);
|
---|
19 | addonRule(nano);
|
---|
20 | addonSheet(nano);
|
---|
21 |
|
---|
22 | if (process.env.NODE_ENV !== 'production') {
|
---|
23 | addonSourcemaps(nano);
|
---|
24 | }
|
---|
25 |
|
---|
26 | return nano;
|
---|
27 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.