Make Node_modules to use external lib

I would like to use a cdn version of react to reduce the initial bundle size from my meteor server.
In the head of client/main.html I have

<script src="" integrity="sha256-ivdPAn5h6U67z6OPgwfiLM9ug6levxmYFqWNxNCV0YE=" crossorigin="anonymous"></script>

I created a fake react node_module and wrote a simple index.js like so

module.exports = window.React;

Is the above approach poor practice for exporting the cdn version of react to the other node_modules and my app?
Is there a better way of importing the cdn version of react, instead of create a dummy react folder in /node_modules?