xwp / fe-dev-lib Goto Github PK
View Code? Open in Web Editor NEWCommon tools to facilitate the frontend development and testing of WordPress themes and plugins
License: MIT License
Common tools to facilitate the frontend development and testing of WordPress themes and plugins
License: MIT License
Sometimes the watch task will fail to start or hang up unexpectedly.
This is not the watch parameter of this package, but rather the watch task located in tasks/watch
.
Happing in this branch: feature/eslintrc-updates
An error has recently cropped up while running the gulp script on Windows:
The following tasks did not complete: default, , js
Did you forget to signal async completion
Could you please help resolve this issue?
Getting inspiration from this gist and using glob-fs, we could implement an option to load as entries all main.js files that appear under the provided folder structure as an option.
CC @dero / @DamianSam
var files = glob.readdirSync('./app/Resources/assets/js/**.js');
// Use each entry to build the key and add them to entries
var entries = {};
for (var i = 0, l = files.length; i < l; i++) {
var key = files[i].replace('app/Resources/assets/js/','').replace('.js', '');
entries[key] = source_dir + '/js/' + key;
}
In order to follow structure and naming of our other projects, we should move classes into a directly named classes
and name files following the class-<classname>.js
format.
When using a custom schema, it seems a little redundant to also require an empty tasks
object in the workflow settings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.