Giter VIP home page Giter VIP logo

webpack-gulp-wordpress-starter-theme's People

Contributors

dependabot-preview[bot] avatar oguilleux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

webpack-gulp-wordpress-starter-theme's Issues

Add an ability to fix eslint errors

Currently, there's no script for running eslint with "--fix" option. If you install eslint globally, and run eslint . --fix, you will encounter 5k+ errors to be fixed, since it does not omit gulp folders and some others. There're also no easy ways to implement it by yourself, since current build pipes js files to preconfigured webpack.

It'd be very useful since, for instance, I often forget to place single quotes instead of double ones, or missing commas.

And thank you for the job that is already done. It's not far from being a separate framework! Best of luck.

How to add .php files to browsersync

Need reload php files after save, sample:

  watch('*.php', browserSync.reload);
  watch('template-parts/*.php', browserSync.reload);
  watch('inc/*.php', browserSync.reload);

How to fire Browsersync?

Hi,

I've uncommented out in gulpfile:

'browser:sync'

then I run npm run start, proxy URL is available, but if I go to the browser, the Browsersync shows me an information about pasting thecode snippet before the </body> tag. So I've done that, but after refreshing the page, message from Browsersync still occurs. What I'm doing incorrectly?

Running npm install gives Error: not supported

Thank you for the Gulp theme! Getting an error when trying to run npm install

  • Tried deleting node modules for a clean reinstall
  • tried deleting package-lock.json for a clean reinstall

npm 6.13.4
node v12.16.1

Error: Not supported
    at eval (eval at <anonymous> (..../node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:10:15), <anonymous>:1:1)
    at requireOrImport (..../node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:24:7)
    at execute (..../node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:37:3)
    at Liftoff.handleArguments (..../node_modules/gulp/node_modules/gulp-cli/index.js:211:24)
    at Liftoff.execute (..../node_modules/liftoff/index.js:201:12)
    at module.exports (..../node_modules/flagged-respawn/index.js:51:3)
    at Liftoff.<anonymous> (..../node_modules/liftoff/index.js:191:5)
    at ..../node_modules/liftoff/index.js:149:9
    at ..../node_modules/v8flags/index.js:162:14
    at ..../node_modules/v8flags/index.js:41:14

Any ideas what could be wrong here? Likely seems likely a versioning issue with some package but no idea currently how approach with this error. Any advice?

BrowserSync with PHP files

Hello,

First of all, thanks for the simple and efficient theme !

I managed to activate BrowserSync in an environment with Laragon by modifying the file /gulp/core/config/browser-sync.js but it does not refresh the browser when modifying a PHP file.

Is there an easy way to do it ?

Unexpected token { in JSON at position 129

Describe the bug
When using single quotes for notifier messages the terminal gives an error Unexpected token { in JSON at position 129

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. Yarn / NPM i etc...
  3. Yarn start / npm start
  4. See error in terminal

Expected behavior
No erros on a clean clone of the repo on startup

Screenshots
n.a.

Additional context
I think this could be solved by using double quotes.

General Query on adding additonal js files

Hi, thank you for the amazing build.

I have a question on js files. I am new to coding with a basic knowledge.

  1. If I wanted to add additonal js scripts and wanted to import to the main js file (eg : import './location/jsfile';). How can I do that?
  2. Is there a detailed step by step guidelines for the entire procedure or somewhere you have published?

Thanks and apologies for these trivial queries.

Paul

gulp-svgmin 4.1.0 breaks options

Describe the bug
When using the latest version of this repo on my m1 mac my svg's inside the sprites folders should have their fill attributes removed but they are not. When setting gulpsvgmin back to 3.0.0 everything works fine. What could be the cause of this?

I'm using node 16.13.1, but I also tested on v14 and v15.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.