Is it possible to exclude the react itself from ko...
# react
n
Is it possible to exclude the react itself from kotlin-react? (it will be available at runtime)
t
Webpack externals?
n
@turansky is there a working example?
Only documentation
n
Well, I tried it but produced js still contains react
Solution:
Copy code
config.externals = {
    'react': 'React',
    'react-dom': 'ReactDOM'
}
👍 2