Comments (3)
This is odd... are you using latest version of plugin?
I have two recommendations:
- Use double quotes insteead of single quotes
- Clear cache using
npx bpwc clear-cache
, then restart any build programs/watcher/hot reloading script you have running so config changes apply
from babel-plugin-wildcard.
I installed it today:
"babel-plugin-wildcard": "^5.0.0",
Use double quotes insteead of single quotes
Just so you know. I copied and pasted from the readme. But I will give this a go tomorrow and let you know.
Clear cache using npx bpwc clear-cache.
Didn't know about that. Will give that a go as well.
then restart any build programs/watcher/hot reloading script you have running so config changes apply
Have tried that already. But will do so in conjunction with the other two tips you mentioned.
Many thanks for the quick follow up too. 👍
from babel-plugin-wildcard.
Use double quotes insteead of single quotes
Doing that change resolved it for me. You should update the readme, as the examples are in single quotes.
Many thanks for your help.
from babel-plugin-wildcard.
Related Issues (20)
- cacheDirectory is breaking functionality HOT 6
- Unable to get this working with Vue SFC (Single File Components, *.vue files) HOT 1
- Can add support for lazy loading? HOT 3
- Not working HOT 2
- Can't make it work on React HOT 16
- Sub dirs HOT 2
- Ability to filter files HOT 1
- can't make it work with a directory of .svg file HOT 8
- Babel 7 support HOT 2
- wildcard and resolve.alias can't work at the same time HOT 1
- Eslint import resolver support HOT 2
- Cannot use wildcards in Vue Single-File-Components files HOT 1
- Will this work in a Typescript project? HOT 1
- It does not work for me with WebPack HOT 7
- Can't import multiple files with same names that have different extensions
- Adding it to plugins breaks my entire app.
- An option to exclude some files HOT 2
- Does not work with React Native HOT 2
- Doesn't appear to work with typescript
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-wildcard.