rsnext/test/integration/page-config/pages/check-client-remove.js
Joe Haddad 67f7cf5627
Remove config export (#8895)
* Remove `config` export
This removes the `config` export instead of all exports.

Reverts #8889 (but with fixed behavior)

* Add test to ensure config object is dropped from client-bundle
2019-10-02 18:49:56 -04:00

10 lines
218 B
JavaScript

import { config as hello } from '../something'
import { config as world } from '../config'
export const config = { _unknownKey: 'THIS_VALUE_SHOULD_BE_GONE' }
export default () => (
<p>
{hello} {world}
</p>
)