diff --git a/lib/css.js b/lib/css.js index 04dfe5ad32ab1..b309ebb4d836b 100644 --- a/lib/css.js +++ b/lib/css.js @@ -1,5 +1,7 @@ import { deprecated } from './utils' -const css = require('glamor') +import glamor from 'glamor' + +const css = Object.assign({}, glamor) for (const [k, v] of Object.entries(css)) { if (typeof v === 'function') {