Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have minimal fluff example and full production example #18

Open
paddymul opened this issue May 4, 2023 · 0 comments
Open

Have minimal fluff example and full production example #18

paddymul opened this issue May 4, 2023 · 0 comments

Comments

@paddymul
Copy link
Collaborator

paddymul commented May 4, 2023

In another project, I am dealing with yet more build system churn. My project used to build, I turned on eslint, made suggested fixes, and it stopped running a full python build (yarn run build still works). I had a thought. This is a general point, not about anything specific we're doing with IPYReact yet.

For production you of course want all strictness and errors turned up. For dev, especially exploratory dev its useful to slowly turn these features on... to just get something working first.

It's helpful to have simpler examples that require less build carefullness so ideas can be tried out. If I'm developing, I just want to be able to import your code without having the exact same build config.

BTW the problem I just fixed was remedied by replacing

import * as data from '../package.json';

with

const data = require('../package.json');

the import syntax made eslint happy, but conflicted with something in the jupyter buildchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant