This is your boilerplate project for developing React apps inside Google Sheets, Docs, Forms and Slides projects. It's perfect for personal projects and for publishing complex add-ons in the Google Workspace Marketplace.
MIT License
1.33k
stars
178
forks
source link
Uncaught ReferenceError: react is not defined #210
Can you try some of the solutions offered in #204? For example, start with not externalizing this package in production, and then experiment with different versions of react and react-dom.
Hi, I have added a new Package npm i react-idle-timer
and updated the webpack.config.js for adding CDN
case 'react-idle-timer': return { name: packageName, var: 'react-idle-timer', version: packageVersion, url:
https://unpkg.com/react-idle-timer@${packageVersion}/dist/index.cjs.js
, };But after deploying getting ReferenceError: react is not defined
so whether I have to add react also in webpack.config.js