Commit 5652ef769b3e044a8a6243890c8a014dd296e9f6
remove fela-preset-dev plugins
Michael Williams committed on 3/7/2017, 12:30:14 PMParent: 6e3b18344d9462352c6ea11bd87b079d0e348c12
Files changed
css/index.js | changed |
package.json | changed |
css/index.js | ||
---|---|---|
@@ -1,9 +1,9 @@ | ||
1 | 1 … | const nest = require('depnest') |
2 | 2 … | const assign = require('object-assign') |
3 | 3 … | const { createRenderer, combineRules, enhance } = require('fela') |
4 | 4 … | const { render } = require('fela-dom') |
5 | -const devPlugins = require('fela-preset-dev') | |
5 … | +// const devPlugins = require('fela-preset-dev') | |
6 | 6 … | const webPlugins = require('fela-preset-web') |
7 | 7 … | const StyledElement = require('hyper-fela') |
8 | 8 … | |
9 | 9 … | module.exports = { |
@@ -36,12 +36,9 @@ | ||
36 | 36 … | return nest('css', { |
37 | 37 … | config: (sofar = {}) => assign({}, sofar, { |
38 | 38 … | plugins: [ |
39 | 39 … | ...(sofar.plugins || []), |
40 | - ...webPlugins, | |
41 | - // TODO | |
42 | - //...(api.config.all().nodeDev === 'development' ? devPlugins : []) | |
43 | - ...devPlugins | |
40 … | + ...webPlugins | |
44 | 41 … | ] |
45 | 42 … | }), |
46 | 43 … | combineRules, |
47 | 44 … | enhance, |
Built with git-ssb-web