Remove all PropTypes in production
This commit is contained in:
@ -102,17 +102,7 @@ const functions = [
|
||||
babel({ exclude: /node_modules/ }),
|
||||
json(),
|
||||
resolve(),
|
||||
commonjs({
|
||||
// namedExports: {
|
||||
// 'node_modules/react/index.js': [
|
||||
// 'createContext',
|
||||
// 'createElement',
|
||||
// 'forwardRef',
|
||||
// 'Component',
|
||||
// 'Fragment'
|
||||
// ]
|
||||
// }
|
||||
}),
|
||||
commonjs(),
|
||||
url({
|
||||
limit: 5 * 1024,
|
||||
publicPath: '/_client/',
|
||||
|
||||
Reference in New Issue
Block a user