Comments (7)
I just met exactly the same behaviour. Also noticed that less won't add rules from globbed files if they're empty.
from less-plugin-glob.
I'm getting the same here as well.
from less-plugin-glob.
Well, so many people encountered that issue. But I have the same setup and it is work well
from less-plugin-glob.
Fine, got it.
Why are you imports declared from the app root? You should import relatively to this file.
from less-plugin-glob.
Had the same problem but as Boris says if you import relative to the file it works.
Is is possible to add functionality to make it work from the app root as well?
from less-plugin-glob.
Found that less implicitly adds extra path to search files here
if (!isAbsoluteFilename && paths.indexOf('.') === -1) {
paths.push('.');
}
I can't reuse this piece of code, only copy that to my plugin. I'll try to do it
from less-plugin-glob.
Seems to be fixed in my little example.
Please try to test current master in your projects, and if it is fine, I will make a release
from less-plugin-glob.
Related Issues (16)
- Globbing Pattern seems wrong HOT 9
- Here is non-less file issue HOT 1
- Installing with Grunt HOT 1
- Absolute paths are broken. HOT 2
- Advanced glob patterns not working HOT 1
- Unable to load plugin HOT 3
- Add an NPM publish automation via Travis HOT 1
- Request custom `processPaths()` callback
- Imported modules are not watched by Webpack 4 (i.e. Hot Reload does not work) HOT 1
- Import order is not deterministic HOT 1
- make compatible with grunt-contrib-less HOT 1
- Add configuration option to change the way file paths are generated HOT 13
- Unable to make it work HOT 3
- Upgrading from 1.0.0 to 1.0.1 caused an issue HOT 1
- Usage in webpack? HOT 1
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 less-plugin-glob.