Comments (8)
Sure thing!
from wpgulp.
Can confirm. Makes using this package impossible. Will check back later for a fix. So promising :(
from wpgulp.
@khoipro This is happening because the sourcemap location is too specific, it should be relative if you are in the pipe already.
See the code that writes styles sourcemap around line 187:
Latest tagged release has: .pipe( sourcemaps.write ( styleDestination ) )
;
(This works fine at the theme root, but is incorrect.)
Solution:
It should be: .pipe( sourcemaps.write ( './' ) )
,
This makes sure that the sourcemaps get written alongside the min files, reguardless of where the source css is.
This should never change.
from wpgulp.
@ahmadawais I just experienced this issue and solved with the above ^. Your latest release in the tags section of this repo is not working with even small customization, and a lot of deps are out of date, yet aren't being mentioned in npm outdated
for some reason.
from wpgulp.
@theenoahmason We are close to releasing a major upgrade. Can you help test it to see if things are looking good there? It's there in the v2.0.0 branch.
from wpgulp.
Also you should try the gulpfile in the master with the installation instructions, that is already updated.
from wpgulp.
@ahmadawais gotcha, sorry for confusion! maybe release 1.0.4 with just that fix for people who may still be using 1.0?
from wpgulp.
Can you check this and repoen for the latest v2 release?
from wpgulp.
Related Issues (20)
- Sass Glob HOT 1
- Adjust WPGulp workflow for modern Gutenberg theme development HOT 2
- Is this project being maintained? HOT 3
- Found 33 vulnerabilities (15 low, 6 moderate, 12 high) HOT 1
- Add a build/deploy functionality HOT 3
- Generating multiple stylesheets on save HOT 1
- WPGulp update failed ( 404 error ) HOT 2
- Node 14+ support problems
- Licensing issue – MIT or GPLv2? HOT 1
- Zip task is missing? HOT 1
- Bundler integration HOT 1
- Failing on initial build after install HOT 4
- Apple Silicone M1 error with Node Sass HOT 2
- Unused @babel/register
- node-sass not compatible with newer versions of node, such as 14 and 16 HOT 6
- Browsersync injects wrong files when multiple style.css are linked in the html
- Error running `npx wpgulp` (Windows) HOT 15
- How to add tailwindcss support? HOT 1
- Dont combine css / js
- Images missing in the Readme
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 wpgulp.