diff --git a/examples/bundling/tree-shaking/rollup-ac3/rollup.config.js b/examples/bundling/tree-shaking/rollup-ac3/rollup.config.js index 56962ae698d..925d24b5207 100644 --- a/examples/bundling/tree-shaking/rollup-ac3/rollup.config.js +++ b/examples/bundling/tree-shaking/rollup-ac3/rollup.config.js @@ -29,6 +29,8 @@ function build({ outputPrefix, externals = [], gzip = false }) { cjs({ namedExports: { 'react': [ + 'createContext', + 'createElement', 'useRef', 'useContext', 'useReducer',