Skip to content
#

normalize

Here are 179 public repositories matching this topic...

Benwick91
Benwick91 commented Feb 28, 2020

I want to use styled-normalize with babel, but if I use it, I get an Babel error.

ERROR in ./.storybook/config.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL] .storybook/config.js: Cannot find module '@babel/helper-compilation-targets'
Require stack:
- node_modules/babel-preset-react-app/node_modules/@babel/preset-env/lib/debug.js
- /node_modules
cheton
cheton commented Sep 23, 2016

I suggest that the second parameter type should also accept a function as custom normalizer.

For example:

var request = require('superagent');
var serializer = require('superagent-serializer');

var customNormalizer = function(serializedRes) {
    // custom processing
    return serializedRes;
};

serializer(request, customNormalizer);

Improve this page

Add a description, image, and links to the normalize topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the normalize topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.