source: imaps-frontend/node_modules/nano-css/preset/sheet.js

main
Last change on this file 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
RevLine 
[d565449]1'use strict';
2
3var create = require('../index').create;
4var addonStable = require('../addon/stable').addon;
5var addonNesting = require('../addon/nesting').addon;
6var addonAtoms = require('../addon/atoms').addon;
7var addonKeyframes = require('../addon/keyframes').addon;
8var addonRule = require('../addon/rule').addon;
9var addonSheet = require('../addon/sheet').addon;
10var addonSourcemaps = require('../addon/sourcemaps').addon;
11
12exports.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.