Comments (10)
The error message leads to this line in the code:
from babel-plugin-macros.
I don't know, because I don't know why it is parsing them.
from babel-plugin-macros.
It's most likely the way babel-plugin-macros loads cosmiconfig...
from babel-plugin-macros.
babel-plugin-macros/src/index.js
Lines 26 to 27 in 8fc6383
from babel-plugin-macros.
Ah ok. So the warning is probably safe to ignore then right? Nothing is actually being required by this code, and the places that do call into this code probably all look like perfectly normal global.require('module-name')
calls.
from babel-plugin-macros.
Looks like ignoring this warning won't cause any issues for now. Not sure though.
from babel-plugin-macros.
I'm pretty sure that ignoring it won't cause issues. The warning clearly seems to be about the ability to extract the dependency graph, which is not affected.
It does seem suspicious to me though that webpack would be parsing eslint-config-react-app
. Why is a linter in the bundle?
from babel-plugin-macros.
Is there a way to prevent linting packages from being parsed while bundling through webpack!!
from babel-plugin-macros.
Any news ?
from babel-plugin-macros.
No news, unless webpack offers some kind of special comment that silences that warning?
from babel-plugin-macros.
Related Issues (20)
- Can automatically import a macro ? HOT 1
- Add hook after all files have been processed? HOT 6
- Failure with ts-jest and babel HOT 13
- Migrate to github actions HOT 1
- "Duplicate declaration" error due to identifier traversal change HOT 6
- Add to docs that plugin config can also come from babel plugin config HOT 1
- Initialization, scopes and assignments - possible bugs / possible improvements HOT 10
- How to show errors in vscode or other editor when macro is throwing MacroError or buildCodeFrameError? HOT 3
- How to apply macro in live coding app (made with create-react-app) HOT 2
- How to handle nests macro HOT 2
- webpack 5 build error HOT 5
- Maintenance is frozen HOT 10
- isMacrosName doesn't provide the full path HOT 9
- Feature: re-entrant macros. HOT 3
- Can we run babel-plugin-macros in the browser HOT 10
- Proposal: Allow macros to be defined in `.macro.mjs` files HOT 6
- Depending on vulnerable version of cosmiconfig HOT 14
- Can we bump "cosmiconfig" dependency to its latest HOT 2
- Facing issue with fortawesome integration with babel-plugin-macros. HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-macros.